summaryrefslogtreecommitdiffstats
path: root/examples/modular-backbone-updated/js/main.js
diff options
context:
space:
mode:
authorThomas Davis <thomasalwyndavis@gmail.com>2012-11-04 16:35:49 +0000
committerThomas Davis <thomasalwyndavis@gmail.com>2012-11-04 16:35:49 +0000
commit5deef956c65c284892cd19e96cfbfed8c7e84531 (patch)
tree7b3b874a3f4a166280c98956e300f3c0aa08429c /examples/modular-backbone-updated/js/main.js
parentfb3bc4b0991641c81f327a3c8da721da9044e0e1 (diff)
downloadbackbonetutorials-5deef956c65c284892cd19e96cfbfed8c7e84531.zip
backbonetutorials-5deef956c65c284892cd19e96cfbfed8c7e84531.tar.gz
backbonetutorials-5deef956c65c284892cd19e96cfbfed8c7e84531.tar.bz2
removed old tutorial
Diffstat (limited to 'examples/modular-backbone-updated/js/main.js')
-rw-r--r--examples/modular-backbone-updated/js/main.js28
1 files changed, 0 insertions, 28 deletions
diff --git a/examples/modular-backbone-updated/js/main.js b/examples/modular-backbone-updated/js/main.js
deleted file mode 100644
index c1196cc..0000000
--- a/examples/modular-backbone-updated/js/main.js
+++ /dev/null
@@ -1,28 +0,0 @@
-// Author: Thomas Davis <thomasalwyndavis@gmail.com>
-// Filename: main.js
-
-// Require.js allows us to configure shortcut alias
-// 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',
- 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
- App.initialize();
-});