summaryrefslogtreecommitdiffstats
path: root/module/web/static/js/views/packageView.js
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/static/js/views/packageView.js')
-rw-r--r--module/web/static/js/views/packageView.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/module/web/static/js/views/packageView.js b/module/web/static/js/views/packageView.js
index 5bc23a7b3..acf437cd8 100644
--- a/module/web/static/js/views/packageView.js
+++ b/module/web/static/js/views/packageView.js
@@ -1,12 +1,13 @@
-define(['jquery', 'views/abstract/itemView', 'underscore', 'views/fileView', 'utils/lazyRequire', 'peity'],
- function($, itemView, _, fileView, lazyLoader) {
+define(['jquery', 'views/abstract/itemView', 'underscore', 'views/fileView', 'utils/lazyRequire', 'handlebars', 'peity'],
+ function($, itemView, _, fileView, lazyLoader, HB) {
// Renders a single package item
return itemView.extend({
tagName: 'li',
className: 'package-view',
- template: _.template($("#template-package").html()),
+// template: _.template($("#template-package").html()),
+ template: HB.compile($("#template-package").html()),
events: {
'click .package-header': 'load',
'click .delete': 'delete',