Skip to content

Instantly share code, notes, and snippets.

@unamashana
Created October 31, 2013 08:24
Show Gist options
  • Save unamashana/7246025 to your computer and use it in GitHub Desktop.
Save unamashana/7246025 to your computer and use it in GitHub Desktop.
# This will compile everything ending with .html.handlebars into
# a global namespace SB.Views.Templates using the template_function
# Handlebars.template
template_extension: 'html.handlebars'
template_function: Handlebars.template
template_namespace: SB.Views.Templates
# Don't compress assets
compress_assets: off
# Embed assets like small images and fonts into the css files
# This reduces network time in loading too many small assets
embed_assets: on
javascripts:
# Files needed for both desktop and mobile
common:
- public/javascripts/production.js
- public/javascripts/jquery-1.7.2.min.js
- public/javascripts/jquery.contains.extensions.js
- public/javascripts/rails.js
# Mobile Only Libs
common:
mobile:
- public/javascripts/mobile/sb_config.js
- public/javascripts/mobile/supportbee.js
- public/javascripts/jquery.livequery.js
- public/javascripts/jquery.mobile-1.2.0.js
- public/javascripts/fastclick.js
- public/javascripts/mobile/notify.js
- public/javascripts/mobile/jquery.mobile.simpledialog2.js
app_assets:
- public/javascripts/jquery.expander.js
- public/javascripts/jquery.url.js
- public/javascripts/jquery.blockUI.js
app:
- public/javascripts/jammit-sb.js
- public/javascripts/backbone/events.js
- public/javascripts/misc.js
# Desktop Only Libs
desktop:
- public/javascripts/sb_config.js
- public/javascripts/supportbee.js
- public/javascripts/jquery.ui.min.js
# Only needed for reports pages
reports:
- public/javascripts/highcharts.src.js
- public/javascripts/date.js
- public/javascripts/daterangepicker.js
stylesheets:
# Same pattern applies for stylesheets too
common:
- public/stylesheets/icomoon.css
- public/stylesheets/app/layout.css
- public/stylesheets/bootstrap-modal.css
desktop:
- public/stylesheets/app/jquery.fileupload-ui.css
- public/stylesheets/app/jquery.ui.css
mobile:
- public/stylesheets/mobile/jquery.mobile.custom.theme.css
- public/stylesheets/mobile/jquery.mobile.custom.structure.css
admin:
- public/stylesheets/admin/screen.css
- public/stylesheets/admin/farbtastic.css
app:
- public/stylesheets/app/screen.css
- public/stylesheets/app/screen_responsive.css
reports:
- public/stylesheets/app/reports.css
- public/stylesheets/daterangepicker.css
account:
- public/stylesheets/app/account.css
widget:
- public/stylesheets/widget/screen.v1.css
marketing:
- public/stylesheets/common/marketing.css
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment