diff options
Diffstat (limited to 'module/web/static/js/mobile.js')
-rw-r--r-- | module/web/static/js/mobile.js | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/module/web/static/js/mobile.js b/module/web/static/js/mobile.js new file mode 100644 index 000000000..58ccf5800 --- /dev/null +++ b/module/web/static/js/mobile.js @@ -0,0 +1,42 @@ +// Sets the require.js configuration for your application. +require.config({ + + paths:{ + + jquery:"libs/jquery-1.8.0", + jqueryui:"libs/jqueryui", + flot:"libs/jquery.flot.min", + transit:"libs/jquery.transit-0.1.3", + fastClick:"libs/jquery.fastClick-0.2", + omniwindow: "libs/jquery.omniwindow", + + underscore:"libs/lodash-0.5.2", + backbone:"libs/backbone-0.9.2", + + // Require.js Plugins + text:"plugins/text-2.0.3" + + }, + + // Sets the configuration for your third party scripts that are not AMD compatible + shim: { + + "backbone": { + deps: ["underscore", "jquery"], + exports: "Backbone" //attaches "Backbone" to the window object + }, + transit: ["jquery"], + fastClick: ["jquery"] + + } // end Shim Configuration + +}); + +define('mobile', ['routers/mobileRouter', 'transit', 'fastClick'], function(Mobile) { + + var init = function(){ + var router = new Mobile(); + }; + + return {"init":init}; +});
\ No newline at end of file |