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.js10
1 files changed, 1 insertions, 9 deletions
diff --git a/module/web/static/js/views/packageView.js b/module/web/static/js/views/packageView.js
index acf437cd8..7cccc9bf4 100644
--- a/module/web/static/js/views/packageView.js
+++ b/module/web/static/js/views/packageView.js
@@ -1,4 +1,4 @@
-define(['jquery', 'views/abstract/itemView', 'underscore', 'views/fileView', 'utils/lazyRequire', 'handlebars', 'peity'],
+define(['jquery', 'views/abstract/itemView', 'underscore', 'views/fileView', 'utils/lazyRequire', 'handlebars'],
function($, itemView, _, fileView, lazyLoader, HB) {
// Renders a single package item
@@ -33,14 +33,6 @@ define(['jquery', 'views/abstract/itemView', 'underscore', 'views/fileView', 'ut
// TODO: on expanding don't re-render
this.$el.html(this.template(this.model.toJSON()));
- var data = [
- { label: "Series1", data: 30},
- { label: "Series2", data: 90}
- ];
- var pie = this.$('.package-graph');
- pie.peity('pie');
- this.$('canvas').addClass('pull-right');
-
if (this.model.isLoaded()) {
var ul = $('<ul></ul>');
this.model.get('files').each(function(file) {