Created
November 2, 2012 23:08
-
-
Save abelmartin/4004896 to your computer and use it in GitHub Desktop.
example of config files for requirejs-rails gem question
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require([ | |
'lib/dom_router', | |
'vendor/modernizr.custom.08494', | |
'jquery_ujs', | |
'lib/document-write-override' | |
], function(dom_router) { | |
dom_router.route({ | |
//... | |
}); | |
dom_router.run(); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
paths: | |
ourapp: 'application' | |
underscore: 'vendor/underscore.min' | |
routie: 'vendor/routie.min' | |
craftyslide: 'vendor/jquery.craftyslide.min' | |
cookies: 'vendor/jquery.cookie' | |
haw: 'haw_shared' | |
async: 'vendor/require.async' | |
notify: 'lib/notify' | |
facebook: 'lib/amd_facebook' | |
gmaps: 'lib/amd_gmaps' | |
shim: | |
underscore: | |
exports: '_' | |
jquery_ujs: | |
deps: [ 'jquery' ] | |
craftyslide: | |
deps: [ 'jquery' ] | |
cookies: | |
deps: [ 'jquery' ] | |
dom_observe: | |
deps: [ 'jquery' ] | |
haw: | |
deps: [ 'jquery', 'underscore' ] | |
exports: 'haw' | |
routie: | |
exports: 'routie' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment