diff options
Diffstat (limited to 'examples/modular-backbone/js/main.js')
-rw-r--r-- | examples/modular-backbone/js/main.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/modular-backbone/js/main.js b/examples/modular-backbone/js/main.js index 8e363e0..d9894e3 100644 --- a/examples/modular-backbone/js/main.js +++ b/examples/modular-backbone/js/main.js @@ -5,6 +5,7 @@ // 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', @@ -20,9 +21,6 @@ require([ // 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 - 'order!libs/jquery/jquery-min', - 'order!libs/underscore/underscore-min', - 'order!libs/backbone/backbone-min' ], 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 |