diff options
Diffstat (limited to 'module/web/static/js/default.js')
-rw-r--r-- | module/web/static/js/default.js | 8 |
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(); }); }; |