summaryrefslogtreecommitdiffstats
path: root/module/web/static/js/default.js
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-12-23 16:00:31 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-12-23 16:00:31 +0100
commit90214a384adddbaa8c343b464d478d1518b37ad1 (patch)
treef888711d34486c9cb552a710ce1d0439c2e1af4b /module/web/static/js/default.js
parentadded app object + event aggegator (diff)
downloadpyload-90214a384adddbaa8c343b464d478d1518b37ad1.tar.xz
cleaned the settings page
Diffstat (limited to 'module/web/static/js/default.js')
-rw-r--r--module/web/static/js/default.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/web/static/js/default.js b/module/web/static/js/default.js
index c82ae3299..4436a85c1 100644
--- a/module/web/static/js/default.js
+++ b/module/web/static/js/default.js
@@ -2,14 +2,14 @@ define('default', ['jquery', 'app', 'views/headerView', 'views/packageTreeView']
function($, App, HeaderView, TreeView) {
App.init = function() {
- var view = new HeaderView();
- view.render();
+ App.header = new HeaderView();
+ App.header.render();
};
App.initPackageTree = function() {
$(function() {
- var view = new TreeView();
- view.init();
+ App.treeView = new TreeView();
+ App.treeView.init();
});
};