diff options
author | 2012-12-20 00:12:13 +0100 | |
---|---|---|
committer | 2012-12-20 00:12:13 +0100 | |
commit | 45783dd2b17a205189974ac1dee8cf2c3ccf1d35 (patch) | |
tree | 29bd3ef00d7a873dbb71378dd5b2da8bb9a27c7f /module/web/static/js/default.js | |
parent | added handlebars templates (diff) | |
download | pyload-45783dd2b17a205189974ac1dee8cf2c3ccf1d35.tar.xz |
separated handlebars init
Diffstat (limited to 'module/web/static/js/default.js')
-rw-r--r-- | module/web/static/js/default.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/module/web/static/js/default.js b/module/web/static/js/default.js index 389ebe9aa..d7c9c4b4a 100644 --- a/module/web/static/js/default.js +++ b/module/web/static/js/default.js @@ -48,9 +48,10 @@ require.config({ } }); -define('default', ['jquery', 'backbone', 'routers/defaultRouter', 'views/headerView', 'views/packageTreeView', - 'utils/animations', 'bootstrap', 'helpers/formatSize'], - function($, Backbone, DefaultRouter, HeaderView, TreeView) { +define('default', ['jquery', 'backbone', 'utils/initHB', + 'routers/defaultRouter', 'views/headerView', 'views/packageTreeView', + 'utils/animations', 'bootstrap'], + function($, Backbone, Handlebars, DefaultRouter, HeaderView, TreeView) { var init = function() { var view = new HeaderView(); |