diff options
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 |