From ecfef4a560dece9dd911017efdfc63fcc04bedfc Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 9 Jun 2013 16:08:59 +0200 Subject: adapted to jshint config --- module/web/app/scripts/helpers/formatTime.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/web/app/scripts/helpers/formatTime.js') diff --git a/module/web/app/scripts/helpers/formatTime.js b/module/web/app/scripts/helpers/formatTime.js index 77d67a39c..757ff73ad 100644 --- a/module/web/app/scripts/helpers/formatTime.js +++ b/module/web/app/scripts/helpers/formatTime.js @@ -1,12 +1,12 @@ // Format bytes in human readable format -define('helpers/formatTime', ['handlebars', 'utils/remaining'], function(Handlebars, Remaining) { - +define('helpers/formatTime', ['handlebars', 'vendor/remaining'], function(Handlebars, Remaining) { + 'use strict'; function formatTime(seconds, options) { if (seconds === Infinity) return '∞'; else if (!seconds || seconds <= 0) - return "-"; + return '-'; // TODO: digital or written string return Remaining.getStringDigital(seconds, window.dates); -- cgit v1.2.3