Skip to content

Instantly share code, notes, and snippets.

@sascha
Created May 12, 2012 10:11
Show Gist options
  • Save sascha/2665639 to your computer and use it in GitHub Desktop.
Save sascha/2665639 to your computer and use it in GitHub Desktop.
modules:
- name: 'common_libs'
exclude: ['jquery']
- name: 'application'
exclude: ['jquery', 'common_libs']
- name: 'common'
exclude: ['jquery', 'common_libs']
paths:
jquery: 'https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min'
jqueryui: 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.19/jquery-ui.min'
pusher: 'https://d3dy5gmtp8yhk7.cloudfront.net/1.12/pusher.min'
underscore: 'libs/underscore_132'
backbone: 'libs/backbone_92'
use: 'use'
validations: 'libs/rails.validations'
ujs: 'jquery_ujs'
hoverintent: 'libs/jquery.hoverIntent.min'
mailcheck: 'libs/jquery.mailcheck'
datepicker: 'libs/jquery.ui.datepicker-de'
handlebars: 'libs/handlebars.runtime'
use:
underscore:
attach: "_"
backbone:
deps: ["use!underscore", "jquery"]
attach: "Backbone"
jqueryui:
deps: ["jquery"]
hoverintent:
deps: ["jquery"]
mailcheck:
deps: ["jquery"]
datepicker:
deps: ["jquery", "use!jqueryui"]
ujs:
deps: ["jquery"]
validations:
deps: ["jquery"]
handlebars:
deps: ["jquery"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment