diff options
Diffstat (limited to 'data/lib/util.js')
-rw-r--r-- | data/lib/util.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data/lib/util.js b/data/lib/util.js index 35150d5..2782f0c 100644 --- a/data/lib/util.js +++ b/data/lib/util.js @@ -224,7 +224,7 @@ function getISODate(dateStr) { */ function ISODateString(d) { function pad(n) { - return n<10 ? '0'+n : n + return (n<10 ? '0'+n : n); } return d.getUTCFullYear()+'-' @@ -401,10 +401,10 @@ NotLoggedinException.prototype.toString = function () { return this.name + ': "' + this.message + '"'; }; -console.myDebug = function myDebug(str) { +function myDebug(str) { if (typeof config !== "undefined") { if (config.debuggingVerbose) { console.log(str); } } -}; +}
\ No newline at end of file |