diff options
Diffstat (limited to 'module/web/app/scripts/helpers/formatTime.js')
-rw-r--r-- | module/web/app/scripts/helpers/formatTime.js | 6 |
1 files changed, 3 insertions, 3 deletions
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); |