]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
fixed jshint issues 1055/head
authorIsaac Cambron <isaac@isaaccambron.com>
Sat, 7 Sep 2013 23:03:17 +0000 (19:03 -0400)
committerIsaac Cambron <isaac@isaaccambron.com>
Sat, 7 Sep 2013 23:03:17 +0000 (19:03 -0400)
moment.js

index 39b08ea43903ed8623d6df7c10d3a02b63a516e9..5b1cf3d6b5cc637b5bad2849f08263b852194b9e 100644 (file)
--- a/moment.js
+++ b/moment.js
             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);