summaryrefslogtreecommitdiffstats
path: root/module/web/app/scripts/views/dashboard/fileView.js
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-06-09 16:08:59 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-06-09 16:08:59 +0200
commitecfef4a560dece9dd911017efdfc63fcc04bedfc (patch)
tree42d00f155c47a8a80e3a023c841a59f87b73885c /module/web/app/scripts/views/dashboard/fileView.js
parentrestructured webui to single-page-app, removed jinja (diff)
downloadpyload-ecfef4a560dece9dd911017efdfc63fcc04bedfc.tar.xz
adapted to jshint config
Diffstat (limited to 'module/web/app/scripts/views/dashboard/fileView.js')
-rw-r--r--module/web/app/scripts/views/dashboard/fileView.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/web/app/scripts/views/dashboard/fileView.js b/module/web/app/scripts/views/dashboard/fileView.js
index c0eec7adf..4e5884ed8 100644
--- a/module/web/app/scripts/views/dashboard/fileView.js
+++ b/module/web/app/scripts/views/dashboard/fileView.js
@@ -1,5 +1,6 @@
define(['jquery', 'backbone', 'underscore', 'app', 'utils/apitypes', 'views/abstract/itemView', 'helpers/formatTime', 'hbs!tpl/dashboard/file'],
function($, Backbone, _, App, Api, ItemView, formatTime, template) {
+ 'use strict';
// Renders single file item
return ItemView.extend({
@@ -91,7 +92,7 @@ define(['jquery', 'backbone', 'underscore', 'app', 'utils/apitypes', 'views/abst
bar.html('&nbsp;&nbsp;' + formatTime(this.model.get('eta')));
} else if (this.model.get('download').status === Api.DownloadStatus.Waiting) {
this.$('.second').html(
- "<i class='icon-time'></i>&nbsp;" + formatTime(this.model.get('eta')));
+ '<i class="icon-time"></i>&nbsp;' + formatTime(this.model.get('eta')));
} else // Every else state can be renderred normally
this.render();