Created
December 17, 2012 19:39
-
-
Save mattd/4321322 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
require.config({ | |
deps: ["main"], | |
paths: { | |
// Core | |
'jquery': 'lib/jquery', | |
'underscore': 'lib/underscore', | |
'json2': 'lib/json2', | |
'backbone': 'lib/backbone', | |
'marionette': 'lib/backbone.marionette', | |
// Plugins & Patches | |
'i18n': 'lib/i18n', | |
'string': 'lib/objects/string', | |
'jquery.cookie': 'lib/jquery.cookie', | |
'marionette.formview': 'lib/marionette.formview' | |
}, | |
config: { | |
i18n: { | |
locale: 'fr-fr' | |
} | |
}, | |
shim: { | |
'underscore': { | |
exports: '_' | |
}, | |
'backbone': { | |
deps: ['jquery', 'underscore', 'json2'], | |
exports: 'Backbone' | |
}, | |
'marionette': { | |
deps: ['backbone'], | |
exports: 'Marionette' | |
}, | |
'templates': { | |
exports: 'JST' | |
}, | |
'jquery.cookie': { | |
deps: ['jquery'] | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment