Created
August 13, 2012 17:22
-
-
Save ianstormtaylor/3342592 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// javascripts/libs/underscore/underscore.min.js | |
// The actual underscore library. | |
... | |
// javascripts/libs/underscore.js | |
// A "module" that we require elsewhere. | |
define([ | |
'libs/underscore/underscore.min' | |
], | |
function (underscoreLibrary) { | |
return window._; | |
}); | |
// javascripts/libs/backbone/backbone.min.js | |
// The actual backbone library. | |
... | |
// javascripts/libs/backbone.js | |
// A "module" that we require elsewhere. | |
define([ | |
'order!libs/underscore/underscore.min', | |
'order!libs/backbone/backbone.min' | |
], | |
function (underscoreLibrary, backboneLibrary) { | |
return window.Backbone; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment