Skip to content

Commit

Permalink
FLUID-5284: Additional linting for FluidDebugging
Browse files Browse the repository at this point in the history
  • Loading branch information
jobara committed Mar 27, 2014
1 parent 009fc62 commit 66a5f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework/core/js/FluidDebugging.js
Expand Up @@ -22,7 +22,7 @@ var fluid = fluid || fluid_1_5;
fluid.renderTimestamp = function (date) {
var zeropad = function (num, width) {
if (!width) { width = 2; }
var numstr = (num == undefined? "" : num.toString());
var numstr = (num === undefined ? "" : num.toString());
return "00000".substring(5 - width + numstr.length) + numstr;
};
return zeropad(date.getHours()) + ":" + zeropad(date.getMinutes()) + ":" + zeropad(date.getSeconds()) + "." + zeropad(date.getMilliseconds(), 3);
Expand Down

0 comments on commit 66a5f2a

Please sign in to comment.