summaryrefslogtreecommitdiffstats
path: root/examples/modular-backbone/js/main.js
diff options
context:
space:
mode:
authorJakub Kozisek <jakub.kozisek@gmail.com>2011-11-26 03:39:37 +0100
committerJakub Kozisek <jakub.kozisek@gmail.com>2011-11-26 03:39:37 +0100
commitc0f76c58c7960918990e991d93ad27d9897d1d3d (patch)
tree70a83416547773cdb5791c1cadc384c88522ef95 /examples/modular-backbone/js/main.js
parent90e0a441197efba5a4b72d4156f8a0bc4d4e0d1f (diff)
downloadbackbonetutorials-c0f76c58c7960918990e991d93ad27d9897d1d3d.zip
backbonetutorials-c0f76c58c7960918990e991d93ad27d9897d1d3d.tar.gz
backbonetutorials-c0f76c58c7960918990e991d93ad27d9897d1d3d.tar.bz2
moved the updated modular-backbone example into modular-backbone-updated,
modular-backbone now contains original version
Diffstat (limited to 'examples/modular-backbone/js/main.js')
-rw-r--r--examples/modular-backbone/js/main.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/modular-backbone/js/main.js b/examples/modular-backbone/js/main.js
index c1196cc..d9894e3 100644
--- a/examples/modular-backbone/js/main.js
+++ b/examples/modular-backbone/js/main.js
@@ -5,10 +5,10 @@
// Their usage will become more apparent futher along in the tutorial.
require.config({
paths: {
- jquery: 'libs/jquery/jquery-min',
- underscore: 'libs/underscore/underscore-min',
- backbone: 'libs/backbone/backbone-optamd3-min',
- text: 'libs/require/text',
+ loader: 'libs/backbone/loader',
+ jQuery: 'libs/jquery/jquery',
+ Underscore: 'libs/underscore/underscore',
+ Backbone: 'libs/backbone/backbone',
templates: '../templates'
}
@@ -17,7 +17,7 @@ require.config({
require([
// Load our app module and pass it to our definition function
- 'app'
+ '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