diff options
author | Jakub Kozisek <jakub.kozisek@gmail.com> | 2011-11-26 02:56:20 +0100 |
---|---|---|
committer | Jakub Kozisek <jakub.kozisek@gmail.com> | 2011-11-26 02:56:20 +0100 |
commit | 39c972bce1b05b90070341bb600410c1f64aa241 (patch) | |
tree | 30abc5927b2cd7813ff9f57de9eff70fee5f9e04 /examples/modular-backbone/js/app.js | |
parent | 91772043de22c7e2a6ac5eb352260042828653fb (diff) | |
download | backbonetutorials-39c972bce1b05b90070341bb600410c1f64aa241.zip backbonetutorials-39c972bce1b05b90070341bb600410c1f64aa241.tar.gz backbonetutorials-39c972bce1b05b90070341bb600410c1f64aa241.tar.bz2 |
equireJS plugin order is not necessary anymore
moved RequireJS plugin text to lib/require
forgot to clear jQuery RequireJS wrapper
switched codebase to new libraries
collections/template.js removed (same as boilerplate.js)
removed swp files
removed "/" from the routes in router.js
removed temporary miniserver
Diffstat (limited to 'examples/modular-backbone/js/app.js')
-rw-r--r-- | examples/modular-backbone/js/app.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/modular-backbone/js/app.js b/examples/modular-backbone/js/app.js index d1b1f05..78db732 100644 --- a/examples/modular-backbone/js/app.js +++ b/examples/modular-backbone/js/app.js @@ -1,8 +1,8 @@ // Filename: app.js define([ - 'jQuery', - 'Underscore', - 'Backbone', + 'jquery', + 'underscore', + 'backbone', 'router', // Request router.js ], function($, _, Backbone, Router){ var initialize = function(){ @@ -10,7 +10,7 @@ define([ Router.initialize(); } - return { + return { initialize: initialize }; }); |