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-04-10 05:14:18 +04:00
|
|
|
'css/devreg/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',
|
2012-05-23 11:42:28 +04:00
|
|
|
'css/mkt/paginator.less',
|
2012-03-14 00:55:19 +04:00
|
|
|
|
|
|
|
# Buttons (used for paginator, "Edit" buttons, Refunds page).
|
|
|
|
'css/devreg/buttons.less',
|
|
|
|
|
|
|
|
# Popups, Modals, Tooltips.
|
2012-07-31 08:55:34 +04:00
|
|
|
'css/mkt/overlay.less',
|
2012-03-14 00:55:19 +04:00
|
|
|
'css/devreg/devhub-popups.less',
|
2012-04-25 01:29:20 +04:00
|
|
|
'css/mkt/device.less',
|
2012-03-14 00:55:19 +04:00
|
|
|
'css/devreg/tooltips.less',
|
|
|
|
|
|
|
|
# L10n menu ("Localize for ...").
|
|
|
|
'css/devreg/l10n.less',
|
|
|
|
|
|
|
|
# Forms (used for tables on "Manage ..." pages).
|
2012-03-28 22:00:30 +04:00
|
|
|
'css/common/forms.less',
|
2012-03-30 06:34:49 +04:00
|
|
|
'css/devreg/devhub-forms.less',
|
2012-03-14 00:55:19 +04:00
|
|
|
|
|
|
|
# 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',
|
2012-09-11 00:14:29 +04:00
|
|
|
'css/devreg/payments.less',
|
2012-03-14 00:55:19 +04:00
|
|
|
'css/devreg/refunds.less',
|
|
|
|
'css/devreg/status.less',
|
|
|
|
|
|
|
|
# Image Uploads (used for "Edit Listing" Images and Submission).
|
|
|
|
'css/devreg/media.less',
|
2012-03-29 00:39:34 +04:00
|
|
|
'css/common/invisible-upload.less',
|
2012-03-14 00:55:19 +04:00
|
|
|
|
|
|
|
# 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',
|
2012-09-11 01:06:44 +04:00
|
|
|
'css/devreg/submit.less',
|
2012-10-24 04:37:02 +04:00
|
|
|
'css/devreg/tabs.less',
|
2012-09-05 03:29:14 +04:00
|
|
|
'css/impala/personas.less',
|
|
|
|
'css/impala/colorpicker.less',
|
2012-03-14 00:55:19 +04:00
|
|
|
|
|
|
|
# Developer Log In / Registration.
|
|
|
|
'css/devreg/login.less',
|
2012-09-20 02:08:07 +04:00
|
|
|
'css/mkt/login.less',
|
2012-03-14 00:55:19 +04:00
|
|
|
|
|
|
|
# Footer.
|
|
|
|
'css/devreg/footer.less',
|
|
|
|
),
|
2012-04-04 21:37:52 +04:00
|
|
|
'mkt/reviewers': (
|
2012-05-15 03:43:49 +04:00
|
|
|
'css/mkt/buttons.less',
|
2012-07-25 02:04:44 +04:00
|
|
|
'css/mkt/ratings.less',
|
2012-04-04 21:37:52 +04:00
|
|
|
'css/mkt/reviewers.less',
|
2012-08-17 01:16:22 +04:00
|
|
|
'css/mkt/themes_review.less',
|
|
|
|
'css/mkt/paginator.less',
|
2012-10-27 02:31:18 +04:00
|
|
|
'css/mkt/files.less',
|
2012-04-04 21:37:52 +04:00
|
|
|
),
|
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-11-27 02:00:50 +04:00
|
|
|
'css/mkt/banners.less',
|
2012-03-28 22:00:30 +04:00
|
|
|
'css/common/invisible-upload.less',
|
|
|
|
'css/common/forms.less',
|
2012-03-30 06:34:49 +04:00
|
|
|
'css/mkt/forms.less',
|
2012-03-16 11:18:58 +04:00
|
|
|
'css/mkt/header.less',
|
2012-08-15 02:51:27 +04:00
|
|
|
'css/mkt/navigation.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-06-11 23:38:10 +04:00
|
|
|
'css/mkt/tile.less',
|
2012-11-28 05:37:19 +04:00
|
|
|
'css/mkt/notification.less',
|
2012-03-14 00:55:19 +04:00
|
|
|
'css/mkt/detail.less',
|
2012-05-17 03:44:00 +04:00
|
|
|
'css/mkt/ratings.less',
|
2012-04-25 01:29:20 +04:00
|
|
|
'css/mkt/device.less',
|
2012-04-17 05:30:04 +04:00
|
|
|
'css/mkt/abuse.less',
|
2012-08-10 02:34:53 +04:00
|
|
|
'css/mkt/categories.less',
|
2012-06-21 21:57:46 +04:00
|
|
|
'css/mkt/menu.less',
|
2012-07-12 01:26:52 +04:00
|
|
|
'css/mkt/infobox.less',
|
2012-04-21 02:34:10 +04:00
|
|
|
'css/mkt/promo-grid.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-27 08:16:22 +04:00
|
|
|
'css/mkt/support.less',
|
2012-03-28 22:00:30 +04:00
|
|
|
'css/mkt/account.less',
|
2012-04-12 03:48:33 +04:00
|
|
|
'css/mkt/account-purchases.less',
|
2012-04-10 05:01:10 +04:00
|
|
|
'css/mkt/login.less',
|
2012-04-12 03:48:33 +04:00
|
|
|
'css/mkt/purchase.less',
|
2012-03-28 22:00:30 +04:00
|
|
|
'css/devreg/l10n.less',
|
2012-04-18 00:25:27 +04:00
|
|
|
'css/mkt/lightbox.less',
|
2012-04-21 02:34:10 +04:00
|
|
|
'css/mkt/browse.less',
|
2012-07-12 00:37:28 +04:00
|
|
|
'css/mkt/filters.less',
|
2012-03-14 00:55:19 +04:00
|
|
|
),
|
2012-04-25 04:15:49 +04:00
|
|
|
'mkt/ecosystem': (
|
2012-08-22 21:38:52 +04:00
|
|
|
'css/mkt/reset.less',
|
|
|
|
'css/mkt/typography.less',
|
2012-08-29 08:46:23 +04:00
|
|
|
'css/mkt/login.less',
|
2012-09-01 00:50:03 +04:00
|
|
|
'css/mkt/forms.less',
|
2012-04-25 04:15:49 +04:00
|
|
|
'css/ecosystem/landing.less',
|
2012-08-09 22:54:09 +04:00
|
|
|
'css/ecosystem/documentation.less',
|
2012-05-03 02:29:56 +04:00
|
|
|
),
|
2012-03-21 02:37:02 +04:00
|
|
|
'mkt/in-app-payments': (
|
2012-04-12 08:58:05 +04:00
|
|
|
'css/mkt/reset.less',
|
|
|
|
'css/mkt/typography.less',
|
|
|
|
'css/mkt/buttons.less',
|
2012-03-21 02:37:02 +04:00
|
|
|
'css/mkt/in-app-payments.less',
|
|
|
|
),
|
2012-03-28 12:25:01 +04:00
|
|
|
'mkt/stats': (
|
|
|
|
'css/mkt/stats.less',
|
|
|
|
),
|
2012-06-27 22:52:48 +04:00
|
|
|
'mkt/lookup': (
|
|
|
|
'css/mkt/lookup-tool.less',
|
2012-09-08 03:18:54 +04:00
|
|
|
'css/mkt/activity.less',
|
2012-05-25 02:12:37 +04:00
|
|
|
),
|
2012-05-18 02:40:38 +04:00
|
|
|
'mkt/themes': (
|
|
|
|
'css/mkt/themes.less',
|
|
|
|
),
|
2012-03-14 00:55:19 +04:00
|
|
|
}
|
|
|
|
|
2012-10-10 10:33:36 +04:00
|
|
|
# Bundle extensions (e.g., desktop).
|
|
|
|
CSS.update({
|
|
|
|
'mkt/consumer-desktop': CSS['mkt/consumer'] + (
|
|
|
|
# TODO: Split components into individual, appropriate stylesheets.
|
|
|
|
'css/mkt/desktop.less',
|
|
|
|
),
|
|
|
|
})
|
|
|
|
|
2012-03-14 00:55:19 +04:00
|
|
|
JS = {
|
|
|
|
'mkt/devreg': (
|
2012-11-29 02:06:58 +04:00
|
|
|
# tiny module loader
|
|
|
|
'js/lib/amd.js',
|
|
|
|
|
2012-05-15 03:43:49 +04:00
|
|
|
'js/lib/jquery-1.7.1.js',
|
2012-04-24 00:37:26 +04:00
|
|
|
'js/lib/webtrends.js',
|
2012-03-14 00:55:19 +04:00
|
|
|
'js/lib/underscore.js',
|
|
|
|
'js/zamboni/browser.js',
|
|
|
|
'js/amo2009/addons.js',
|
2012-04-24 03:46:55 +04:00
|
|
|
'js/common/tracking.js',
|
2012-03-14 00:55:19 +04:00
|
|
|
'js/devreg/init.js', # This one excludes buttons initialization, etc.
|
2012-07-26 02:02:56 +04:00
|
|
|
'js/mkt/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',
|
2012-09-11 01:54:07 +04:00
|
|
|
'js/common/keys.js',
|
2012-05-17 11:24:06 +04:00
|
|
|
'js/impala/serializers.js',
|
2012-07-31 08:55:34 +04:00
|
|
|
'js/mkt/utils.js',
|
2012-09-08 00:33:28 +04:00
|
|
|
'js/mkt/browserid.js',
|
|
|
|
'js/mkt/login.js',
|
2012-03-14 00:55:19 +04:00
|
|
|
|
|
|
|
# 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',
|
|
|
|
|
2012-10-09 01:26:20 +04:00
|
|
|
'js/lib/truncate.js',
|
2012-03-14 00:55:19 +04:00
|
|
|
'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/impala/login.js',
|
|
|
|
|
|
|
|
# Fix-up outgoing links.
|
|
|
|
'js/zamboni/outgoing_links.js',
|
|
|
|
|
|
|
|
# Stick.
|
|
|
|
'js/lib/stick.js',
|
|
|
|
|
|
|
|
# Developer Hub-specific scripts.
|
2012-08-14 03:47:15 +04:00
|
|
|
'js/common/upload-base.js',
|
|
|
|
'js/common/upload-packaged-app.js',
|
2012-03-29 00:39:34 +04:00
|
|
|
'js/common/upload-image.js',
|
2012-03-14 00:55:19 +04:00
|
|
|
|
|
|
|
# New stuff.
|
|
|
|
'js/devreg/devhub.js',
|
2012-09-20 02:08:07 +04:00
|
|
|
'js/devreg/submit.js',
|
2012-10-24 04:37:02 +04:00
|
|
|
'js/devreg/tabs.js',
|
2012-08-03 22:43:32 +04:00
|
|
|
'js/devreg/edit.js',
|
2012-09-05 03:29:14 +04:00
|
|
|
'js/impala/persona_creation.js',
|
|
|
|
'js/lib/jquery.minicolors.js',
|
2012-03-14 00:55:19 +04:00
|
|
|
|
|
|
|
# Specific stuff for making payments nicer.
|
2012-08-10 10:56:06 +04:00
|
|
|
'js/devreg/payments.js',
|
2012-03-14 00:55:19 +04:00
|
|
|
'js/zamboni/validator.js',
|
2012-09-11 01:54:07 +04:00
|
|
|
'js/mkt/overlay.js',
|
2012-03-14 00:55:19 +04:00
|
|
|
),
|
2012-03-20 12:23:22 +04:00
|
|
|
'mkt/consumer': (
|
2012-11-28 05:37:19 +04:00
|
|
|
# tiny module loader
|
|
|
|
'js/lib/amd.js',
|
|
|
|
|
2012-08-30 03:18:32 +04:00
|
|
|
'js/lib/jquery-1.8.js',
|
2012-11-02 02:57:00 +04:00
|
|
|
'js/lib/jquery.cookie.js',
|
2012-04-24 00:37:26 +04:00
|
|
|
'js/lib/webtrends.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-08-10 03:22:00 +04:00
|
|
|
|
|
|
|
# slider lib
|
2012-08-10 02:13:49 +04:00
|
|
|
'js/lib/flipsnap.js',
|
2012-11-28 05:37:19 +04:00
|
|
|
|
2012-04-24 03:46:55 +04:00
|
|
|
'js/common/tracking.js',
|
2012-04-26 02:21:22 +04:00
|
|
|
'js/mkt/utils.js',
|
2012-05-12 11:03:45 +04:00
|
|
|
'js/lib/csrf.js',
|
2012-04-26 02:13:59 +04:00
|
|
|
'js/zamboni/browser.js',
|
2012-03-20 05:21:39 +04:00
|
|
|
'js/mkt/init.js',
|
2012-04-10 05:01:10 +04:00
|
|
|
'js/mkt/browserid.js',
|
2012-10-09 01:26:20 +04:00
|
|
|
'js/lib/truncate.js',
|
2012-04-12 01:14:22 +04:00
|
|
|
'js/zamboni/truncation.js',
|
2012-03-22 05:35:08 +04:00
|
|
|
'js/common/keys.js',
|
2012-03-20 05:21:39 +04:00
|
|
|
'js/mkt/capabilities.js',
|
2012-11-27 02:00:50 +04:00
|
|
|
'js/mkt/banners.js',
|
2012-07-20 22:43:02 +04:00
|
|
|
'js/impala/serializers.js',
|
2012-03-20 02:35:09 +04:00
|
|
|
'js/mkt/fragments.js',
|
2012-08-15 02:51:27 +04:00
|
|
|
'js/mkt/navigation.js',
|
2012-04-17 05:30:04 +04:00
|
|
|
'js/mkt/recaptcha.js',
|
2012-04-12 12:39:08 +04:00
|
|
|
'js/mkt/overlay.js',
|
2012-04-10 05:01:10 +04:00
|
|
|
'js/mkt/login.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-04-12 01:14:22 +04:00
|
|
|
'js/mkt/buttons.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-08-06 09:56:35 +04:00
|
|
|
'js/mkt/typography.js',
|
2012-03-22 05:35:08 +04:00
|
|
|
|
2012-11-28 05:37:19 +04:00
|
|
|
# ui
|
|
|
|
'js/mkt/notification.js',
|
|
|
|
|
2012-11-21 01:20:11 +04:00
|
|
|
'js/mkt/offline.js',
|
|
|
|
|
2012-03-22 05:35:08 +04:00
|
|
|
# Search suggestions.
|
|
|
|
'js/impala/ajaxcache.js',
|
|
|
|
'js/impala/suggestions.js',
|
2012-10-01 21:49:05 +04:00
|
|
|
'js/mkt/mkt_suggestions.js',
|
2012-03-28 22:00:30 +04:00
|
|
|
|
2012-11-08 13:20:57 +04:00
|
|
|
'js/mkt/paginator.js',
|
|
|
|
|
2012-03-28 22:00:30 +04:00
|
|
|
# Account settings.
|
|
|
|
'js/mkt/account.js',
|
2012-04-19 02:51:08 +04:00
|
|
|
|
2012-05-28 06:46:54 +04:00
|
|
|
# Homepage.
|
|
|
|
'js/mkt/home.js',
|
|
|
|
|
2012-04-19 02:51:08 +04:00
|
|
|
# Detail page.
|
|
|
|
'js/mkt/detail.js',
|
|
|
|
'js/mkt/lightbox.js',
|
2012-07-14 03:12:27 +04:00
|
|
|
'js/mkt/previews.js',
|
2012-05-02 03:48:08 +04:00
|
|
|
|
2012-05-17 08:44:46 +04:00
|
|
|
# Ratings.
|
2012-06-11 09:19:13 +04:00
|
|
|
'js/common/ratingwidget.js',
|
2012-05-17 08:44:46 +04:00
|
|
|
'js/mkt/ratings.js',
|
|
|
|
|
2012-06-27 03:13:59 +04:00
|
|
|
# Fix-up outgoing links.
|
|
|
|
'js/mkt/outgoing_links.js',
|
|
|
|
|
2012-05-02 03:48:08 +04:00
|
|
|
# Stick.
|
|
|
|
'js/lib/stick.js',
|
2012-03-14 00:55:19 +04:00
|
|
|
),
|
2012-05-15 03:43:49 +04:00
|
|
|
'mkt/reviewers': (
|
2012-07-20 22:43:02 +04:00
|
|
|
'js/mkt/utils.js',
|
2012-05-15 03:43:49 +04:00
|
|
|
'js/mkt/apps.js',
|
|
|
|
'js/mkt/install.js',
|
|
|
|
'js/mkt/buttons.js',
|
2012-06-28 18:30:39 +04:00
|
|
|
'js/mkt/reviewers.js',
|
2012-05-15 03:43:49 +04:00
|
|
|
),
|
2012-03-28 12:25:01 +04:00
|
|
|
'mkt/stats': (
|
2012-06-19 00:23:35 +04:00
|
|
|
'js/zamboni/storage.js',
|
2012-03-28 12:25:01 +04:00
|
|
|
'js/mkt/modal.js',
|
|
|
|
'js/lib/jquery-datepicker.js',
|
|
|
|
'js/lib/highcharts.src.js',
|
2012-05-15 21:54:28 +04:00
|
|
|
'js/mkt/stats/csv_keys.js',
|
|
|
|
'js/mkt/stats/helpers.js',
|
|
|
|
'js/mkt/stats/dateutils.js',
|
|
|
|
'js/mkt/stats/manager.js',
|
|
|
|
'js/mkt/stats/controls.js',
|
|
|
|
'js/mkt/stats/overview.js',
|
|
|
|
'js/mkt/stats/topchart.js',
|
|
|
|
'js/mkt/stats/chart.js',
|
|
|
|
'js/mkt/stats/table.js',
|
2012-06-09 03:35:52 +04:00
|
|
|
'js/mkt/stats/chart_column.js',
|
2012-05-15 21:54:28 +04:00
|
|
|
'js/mkt/stats/stats.js',
|
2012-03-28 12:25:01 +04:00
|
|
|
),
|
2012-05-18 02:40:38 +04:00
|
|
|
'mkt/themes': (
|
2012-09-18 01:35:49 +04:00
|
|
|
'js/lib/jquery.hoverIntent.js',
|
2012-05-18 02:40:38 +04:00
|
|
|
'js/zamboni/personas_core.js',
|
|
|
|
'js/zamboni/personas.js',
|
|
|
|
'js/mkt/themes.js',
|
|
|
|
),
|
2012-04-06 04:40:03 +04:00
|
|
|
'mkt/in-app-payments': (
|
2012-04-17 03:30:16 +04:00
|
|
|
'js/lib/jquery-1.7.1.js',
|
2012-04-06 04:40:03 +04:00
|
|
|
'js/mkt/inapp_payments.js',
|
2012-05-12 11:03:45 +04:00
|
|
|
'js/lib/csrf.js',
|
2012-05-05 00:34:48 +04:00
|
|
|
'js/impala/serializers.js',
|
2012-04-17 03:30:16 +04:00
|
|
|
'js/mkt/browserid.js',
|
|
|
|
'js/mkt/login.js',
|
2012-04-06 04:40:03 +04:00
|
|
|
),
|
2012-06-27 22:52:48 +04:00
|
|
|
'mkt/lookup': (
|
2012-05-25 02:12:37 +04:00
|
|
|
'js/common/keys.js',
|
|
|
|
'js/impala/ajaxcache.js',
|
|
|
|
'js/impala/suggestions.js',
|
2012-06-27 22:52:48 +04:00
|
|
|
'js/mkt/lookup-tool.js',
|
2012-05-25 02:12:37 +04:00
|
|
|
),
|
2012-10-01 23:40:50 +04:00
|
|
|
'mkt/ecosystem': (
|
|
|
|
'js/mkt/ecosystem.js',
|
|
|
|
),
|
2012-10-18 03:33:53 +04:00
|
|
|
'mkt/debug': (
|
|
|
|
'js/debug/tinytools.js',
|
|
|
|
),
|
2012-03-14 00:55:19 +04:00
|
|
|
}
|