diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-12-20 17:39:54 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-12-20 17:39:54 +0100 |
commit | 21047cccdb45249f76b32413c21e013d15f0bf41 (patch) | |
tree | 963875366a64de5e41d0139569f7b5dad12399ae /module/web/static/js/views/packageView.js | |
parent | added models and collections for progress (diff) | |
download | pyload-21047cccdb45249f76b32413c21e013d15f0bf41.tar.xz |
removed pie charts
Diffstat (limited to 'module/web/static/js/views/packageView.js')
-rw-r--r-- | module/web/static/js/views/packageView.js | 10 |
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) { |