2012-03-14 00:55:19 +04:00
|
|
|
# A list of our CSS and JS assets for jingo-minify.
|
|
|
|
|
|
|
|
CSS = {
|
|
|
|
'mkt/devreg': (
|
|
|
|
# Contains reset, clearfix, etc.
|
|
|
|
'css/devreg/base.css',
|
|
|
|
|
|
|
|
# Base styles (body, breadcrumbs, islands, columns).
|
|
|
|
'css/devreg/base.less',
|
2012-03-20 11:59:05 +04:00
|
|
|
'css/mkt/breadcrumbs.less',
|
2012-03-14 00:55:19 +04:00
|
|
|
|
|
|
|
# Typographical styles (font treatments, headings).
|
|
|
|
'css/devreg/typography.less',
|
|
|
|
|
|
|
|
# Header (aux-nav, masthead, site-nav).
|
|
|
|
'css/devreg/header.less',
|
|
|
|
|
|
|
|
# Item rows (used on Dashboard).
|
|
|
|
'css/devreg/listing.less',
|
|
|
|
'css/devreg/paginator.less',
|
|
|
|
|
|
|
|
# Buttons (used for paginator, "Edit" buttons, Refunds page).
|
|
|
|
'css/devreg/buttons.less',
|
|
|
|
|
|
|
|
# Popups, Modals, Tooltips.
|
|
|
|
'css/devreg/devhub-popups.less',
|
|
|
|
'css/devreg/tooltips.less',
|
|
|
|
|
|
|
|
# L10n menu ("Localize for ...").
|
|
|
|
'css/devreg/l10n.less',
|
|
|
|
|
|
|
|
# Forms (used for tables on "Manage ..." pages).
|
|
|
|
'css/devreg/devhub-forms.less',
|
|
|
|
|
|
|
|
# Landing page
|
|
|
|
'css/devreg/landing.less',
|
|
|
|
|
|
|
|
# "Manage ..." pages.
|
|
|
|
'css/devreg/manage.less',
|
|
|
|
'css/devreg/prose.less',
|
|
|
|
'css/devreg/authors.less',
|
|
|
|
'css/devreg/in-app-config.less',
|
|
|
|
'css/devreg/paypal.less',
|
|
|
|
'css/devreg/refunds.less',
|
|
|
|
'css/devreg/status.less',
|
|
|
|
|
|
|
|
# Image Uploads (used for "Edit Listing" Images and Submission).
|
|
|
|
'css/devreg/media.less',
|
|
|
|
|
|
|
|
# Submission.
|
|
|
|
'css/devreg/submit-progress.less',
|
|
|
|
'css/devreg/submit-terms.less',
|
|
|
|
'css/devreg/submit-manifest.less',
|
|
|
|
'css/devreg/submit-details.less',
|
|
|
|
'css/devreg/validation.less',
|
|
|
|
|
|
|
|
# Developer Log In / Registration.
|
|
|
|
'css/devreg/login.less',
|
|
|
|
|
|
|
|
# Footer.
|
|
|
|
'css/devreg/footer.less',
|
|
|
|
),
|
|
|
|
'mkt/devreg-legacy': (
|
|
|
|
'css/devreg-legacy/developers.less', # Legacy galore.
|
|
|
|
),
|
2012-03-20 12:23:22 +04:00
|
|
|
'mkt/consumer': (
|
2012-03-14 00:55:19 +04:00
|
|
|
'css/mkt/reset.less',
|
2012-03-20 03:09:56 +04:00
|
|
|
'css/mkt/typography.less',
|
2012-03-14 00:55:19 +04:00
|
|
|
'css/mkt/site.less',
|
2012-03-16 11:18:58 +04:00
|
|
|
'css/mkt/forms.less',
|
|
|
|
'css/mkt/header.less',
|
2012-03-20 11:59:05 +04:00
|
|
|
'css/mkt/breadcrumbs.less',
|
2012-03-20 05:40:24 +04:00
|
|
|
'css/mkt/buttons.less',
|
2012-03-14 00:55:19 +04:00
|
|
|
'css/mkt/detail.less',
|
2012-03-14 11:11:50 +04:00
|
|
|
'css/mkt/slider.less',
|
2012-03-15 05:20:45 +04:00
|
|
|
'css/mkt/overlay.less',
|
2012-03-17 02:23:09 +04:00
|
|
|
'css/mkt/search.less',
|
2012-03-20 03:00:22 +04:00
|
|
|
'css/mkt/paginator.less',
|
2012-03-22 05:35:08 +04:00
|
|
|
'css/mkt/suggestions.less',
|
2012-03-24 05:13:25 +04:00
|
|
|
'css/mkt/purchases.less',
|
2012-03-27 08:16:22 +04:00
|
|
|
'css/mkt/support.less',
|
2012-03-14 00:55:19 +04:00
|
|
|
),
|
2012-03-21 02:37:02 +04:00
|
|
|
'mkt/in-app-payments': (
|
|
|
|
# Temporarily re-using PayPal styles for in-app-payments UI
|
|
|
|
# until we actually have a UI.
|
|
|
|
'css/impala/base.css',
|
|
|
|
'css/legacy/jquery-lightbox.css',
|
|
|
|
'css/impala/site.less',
|
|
|
|
'css/impala/typography.less',
|
|
|
|
'css/global/headerfooter.css',
|
|
|
|
'css/impala/forms.less',
|
|
|
|
'css/impala/header.less',
|
|
|
|
'css/impala/footer.less',
|
|
|
|
'css/impala/moz-tab.css',
|
|
|
|
'css/impala/hovercards.less',
|
|
|
|
'css/impala/toplist.less',
|
|
|
|
'css/impala/carousel.less',
|
|
|
|
'css/impala/reviews.less',
|
|
|
|
'css/impala/buttons.less',
|
|
|
|
'css/impala/promos.less',
|
|
|
|
'css/impala/addon_details.less',
|
|
|
|
'css/impala/policy.less',
|
|
|
|
'css/impala/expando.less',
|
|
|
|
'css/impala/popups.less',
|
|
|
|
'css/impala/l10n.less',
|
|
|
|
'css/impala/contributions.less',
|
|
|
|
'css/impala/lightbox.less',
|
|
|
|
'css/impala/prose.less',
|
|
|
|
'css/impala/sharing.less',
|
|
|
|
'css/impala/abuse.less',
|
|
|
|
'css/impala/paginator.less',
|
|
|
|
'css/impala/listing.less',
|
|
|
|
'css/impala/versions.less',
|
|
|
|
'css/impala/users.less',
|
|
|
|
'css/impala/collections.less',
|
|
|
|
'css/impala/tooltips.less',
|
|
|
|
'css/impala/search.less',
|
|
|
|
'css/impala/suggestions.less',
|
|
|
|
'css/impala/colorpicker.less',
|
|
|
|
'css/impala/personas.less',
|
|
|
|
'css/impala/login.less',
|
|
|
|
'css/impala/dictionaries.less',
|
|
|
|
'css/impala/apps.less',
|
|
|
|
'css/impala/formset.less',
|
|
|
|
'css/impala/tables.less',
|
|
|
|
'css/impala/compat.less',
|
|
|
|
'css/impala/localizers.less',
|
|
|
|
'css/mkt/in-app-payments.less',
|
|
|
|
),
|
2012-03-14 00:55:19 +04:00
|
|
|
'marketplace-experiments': (
|
|
|
|
'marketplace-experiments/css/reset.less',
|
|
|
|
'marketplace-experiments/css/site.less',
|
|
|
|
'marketplace-experiments/css/header.less',
|
|
|
|
'marketplace-experiments/css/detail.less',
|
|
|
|
'marketplace-experiments/css/buttons.less',
|
|
|
|
'marketplace-experiments/css/slider.less',
|
|
|
|
),
|
|
|
|
}
|
|
|
|
|
|
|
|
JS = {
|
|
|
|
'mkt/devreg': (
|
|
|
|
'js/lib/jquery-1.6.4.js',
|
|
|
|
'js/lib/underscore.js',
|
|
|
|
'js/zamboni/browser.js',
|
|
|
|
'js/amo2009/addons.js',
|
|
|
|
'js/devreg/init.js', # This one excludes buttons initialization, etc.
|
|
|
|
'js/impala/capabilities.js',
|
2012-03-22 04:31:00 +04:00
|
|
|
'js/lib/format.js',
|
2012-03-14 00:55:19 +04:00
|
|
|
'js/lib/jquery.cookie.js',
|
|
|
|
'js/zamboni/storage.js',
|
|
|
|
'js/zamboni/tabs.js',
|
|
|
|
|
|
|
|
# jQuery UI.
|
|
|
|
'js/lib/jquery-ui/jquery.ui.core.js',
|
|
|
|
'js/lib/jquery-ui/jquery.ui.position.js',
|
|
|
|
'js/lib/jquery-ui/jquery.ui.widget.js',
|
|
|
|
'js/lib/jquery-ui/jquery.ui.mouse.js',
|
|
|
|
'js/lib/jquery-ui/jquery.ui.autocomplete.js',
|
|
|
|
'js/lib/jquery-ui/jquery.ui.datepicker.js',
|
|
|
|
'js/lib/jquery-ui/jquery.ui.sortable.js',
|
|
|
|
|
|
|
|
'js/zamboni/truncation.js',
|
|
|
|
'js/zamboni/helpers.js',
|
|
|
|
'js/zamboni/global.js',
|
|
|
|
'js/zamboni/l10n.js',
|
|
|
|
'js/zamboni/debouncer.js',
|
|
|
|
|
|
|
|
# Users.
|
|
|
|
'js/zamboni/users.js',
|
|
|
|
|
|
|
|
# Forms.
|
|
|
|
'js/impala/forms.js',
|
|
|
|
|
|
|
|
# Login.
|
|
|
|
'js/zamboni/browserid_support.js',
|
|
|
|
'js/impala/login.js',
|
|
|
|
|
|
|
|
# Fix-up outgoing links.
|
|
|
|
'js/zamboni/outgoing_links.js',
|
|
|
|
|
|
|
|
# Stick.
|
|
|
|
'js/lib/stick.js',
|
|
|
|
|
|
|
|
# Developer Hub-specific scripts.
|
|
|
|
'js/zamboni/truncation.js',
|
|
|
|
'js/zamboni/upload.js',
|
|
|
|
|
|
|
|
# New stuff.
|
|
|
|
'js/devreg/devhub.js',
|
|
|
|
'js/devreg/submit-details.js',
|
|
|
|
|
|
|
|
# Specific stuff for making payments nicer.
|
|
|
|
'js/devreg/paypal.js',
|
|
|
|
'js/zamboni/validator.js',
|
|
|
|
),
|
2012-03-20 12:23:22 +04:00
|
|
|
'mkt/consumer': (
|
2012-03-14 00:55:19 +04:00
|
|
|
'js/lib/jquery-1.7.1.js',
|
2012-03-15 05:20:45 +04:00
|
|
|
'js/lib/underscore.js',
|
2012-03-22 05:35:08 +04:00
|
|
|
'js/lib/format.js',
|
2012-03-20 05:21:39 +04:00
|
|
|
'js/mkt/init.js',
|
2012-03-22 05:35:08 +04:00
|
|
|
'js/mkt/utils.js',
|
|
|
|
'js/common/keys.js',
|
2012-03-20 05:21:39 +04:00
|
|
|
'js/mkt/capabilities.js',
|
2012-03-20 02:35:09 +04:00
|
|
|
'js/mkt/fragments.js',
|
2012-03-14 11:11:50 +04:00
|
|
|
'js/mkt/slider.js',
|
2012-03-15 05:20:45 +04:00
|
|
|
'js/mkt/install.js',
|
2012-03-24 01:05:32 +04:00
|
|
|
'js/mkt/payments.js',
|
2012-03-17 02:23:09 +04:00
|
|
|
'js/mkt/search.js',
|
2012-03-20 02:56:48 +04:00
|
|
|
'js/mkt/apps.js',
|
2012-03-22 05:35:08 +04:00
|
|
|
|
|
|
|
# Search suggestions.
|
|
|
|
'js/impala/ajaxcache.js',
|
|
|
|
'js/impala/suggestions.js',
|
2012-03-14 00:55:19 +04:00
|
|
|
),
|
|
|
|
'marketplace-experiments': (
|
|
|
|
'js/marketplace-experiments/jquery-1.7.1.min.js',
|
|
|
|
'js/marketplace-experiments/slider.js',
|
|
|
|
),
|
|
|
|
}
|