diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-06-09 16:08:59 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-06-09 16:08:59 +0200 |
commit | ecfef4a560dece9dd911017efdfc63fcc04bedfc (patch) | |
tree | 42d00f155c47a8a80e3a023c841a59f87b73885c /module/web/app/scripts/views/dashboard/fileView.js | |
parent | restructured webui to single-page-app, removed jinja (diff) | |
download | pyload-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.js | 3 |
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(' ' + formatTime(this.model.get('eta'))); } else if (this.model.get('download').status === Api.DownloadStatus.Waiting) { this.$('.second').html( - "<i class='icon-time'></i> " + formatTime(this.model.get('eta'))); + '<i class="icon-time"></i> ' + formatTime(this.model.get('eta'))); } else // Every else state can be renderred normally this.render(); |