From: Isaac Cambron Date: Sat, 7 Sep 2013 23:03:17 +0000 (-0400) Subject: fixed jshint issues X-Git-Tag: 2.2.0~6^2~1^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F1055%2Fhead;p=thirdparty%2Fmoment.git fixed jshint issues --- diff --git a/moment.js b/moment.js index 39b08ea43..5b1cf3d6b 100644 --- a/moment.js +++ b/moment.js @@ -985,7 +985,7 @@ dateFromArray(config); } else if (input instanceof Date) { config._d = new Date(+input); - } else if (typeof(input) == 'object') { + } else if (typeof(input) === 'object') { dateFromObject(config); } else { config._d = new Date(input);