diff options
author | Thomas Davis <thomasalwyndavis@gmail.com> | 2012-10-15 10:31:51 +0000 |
---|---|---|
committer | Thomas Davis <thomasalwyndavis@gmail.com> | 2012-10-15 10:31:51 +0000 |
commit | 4713729fec769757cd2d58b2d3cc8f8fa128141a (patch) | |
tree | 21530ba43975a4e559f78e7ac778118841639f9f /examples/modular-backbone/js/main.js | |
parent | 0596783e3397e4dddb4317644398e7111cf85782 (diff) | |
download | backbonetutorials-4713729fec769757cd2d58b2d3cc8f8fa128141a.zip backbonetutorials-4713729fec769757cd2d58b2d3cc8f8fa128141a.tar.gz backbonetutorials-4713729fec769757cd2d58b2d3cc8f8fa128141a.tar.bz2 |
updated tutotrla example
Diffstat (limited to 'examples/modular-backbone/js/main.js')
-rw-r--r-- | examples/modular-backbone/js/main.js | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/examples/modular-backbone/js/main.js b/examples/modular-backbone/js/main.js index d9894e3..4df28b9 100644 --- a/examples/modular-backbone/js/main.js +++ b/examples/modular-backbone/js/main.js @@ -5,22 +5,18 @@ // Their usage will become more apparent futher along in the tutorial. require.config({ paths: { - loader: 'libs/backbone/loader', - jQuery: 'libs/jquery/jquery', - Underscore: 'libs/underscore/underscore', - Backbone: 'libs/backbone/backbone', + jquery: 'libs/jquery/jquery-min', + underscore: 'libs/underscore/underscore-min', + backbone: 'libs/backbone/backbone-min', templates: '../templates' } }); require([ - // Load our app module and pass it to our definition function 'app', - // Some plugins have to be loaded in order due to their non AMD compliance - // Because these scripts are not "modules" they do not pass any values to the definition function below ], function(App){ // The "app" dependency is passed in as "App" // Again, the other dependencies passed in are not "AMD" therefore don't pass a parameter to this function |