From 62b750898259ef92158ce01a29a3469c2dbceeea Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 23 Dec 2012 13:02:55 +0100 Subject: added app object + event aggegator --- module/web/static/js/mobile.js | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 module/web/static/js/mobile.js (limited to 'module/web/static/js/mobile.js') diff --git a/module/web/static/js/mobile.js b/module/web/static/js/mobile.js deleted file mode 100644 index 75450cc89..000000000 --- a/module/web/static/js/mobile.js +++ /dev/null @@ -1,42 +0,0 @@ -// 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.7.0", - 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}; -}); -- cgit v1.2.3