diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-10-06 20:37:51 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-10-06 20:37:51 +0200 |
commit | 4632cd7ff2783dcab33f3d88a1a5d8bb48d04fb4 (patch) | |
tree | 990d61d7fc83733024b83b25b68c91fbe547ee62 /module/web/static | |
parent | added little pie chart (diff) | |
download | pyload-4632cd7ff2783dcab33f3d88a1a5d8bb48d04fb4.tar.xz |
task to optimize js code
Diffstat (limited to 'module/web/static')
-rw-r--r-- | module/web/static/js/app.build.js | 8 | ||||
-rw-r--r-- | module/web/static/js/mobile.js | 4 | ||||
-rw-r--r-- | module/web/static/js/views/headerView.js | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/module/web/static/js/app.build.js b/module/web/static/js/app.build.js index 88b96cb89..ad40b02b6 100644 --- a/module/web/static/js/app.build.js +++ b/module/web/static/js/app.build.js @@ -10,13 +10,13 @@ // Modules to be optimized: modules: [ - { - name: "mobile" - }, +// { +// name: "mobile" +// }, { name: "default" } ] -})
\ No newline at end of file +}) diff --git a/module/web/static/js/mobile.js b/module/web/static/js/mobile.js index 58ccf5800..75450cc89 100644 --- a/module/web/static/js/mobile.js +++ b/module/web/static/js/mobile.js @@ -10,7 +10,7 @@ require.config({ fastClick:"libs/jquery.fastClick-0.2", omniwindow: "libs/jquery.omniwindow", - underscore:"libs/lodash-0.5.2", + underscore:"libs/lodash-0.7.0", backbone:"libs/backbone-0.9.2", // Require.js Plugins @@ -39,4 +39,4 @@ define('mobile', ['routers/mobileRouter', 'transit', 'fastClick'], function(Mobi }; return {"init":init}; -});
\ No newline at end of file +}); diff --git a/module/web/static/js/views/headerView.js b/module/web/static/js/views/headerView.js index 21b591a3d..6a4ac270d 100644 --- a/module/web/static/js/views/headerView.js +++ b/module/web/static/js/views/headerView.js @@ -1,4 +1,4 @@ -define(['jquery', 'backbone', 'flot', 'jqueryui/progressbar'], function($, Backbone){ +define(['jquery', 'backbone', 'flot'], function($, Backbone){ // Renders the header with all information return Backbone.View.extend({ |