Comparing version
{ | ||
"name": "mockdate", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "A JavaScript mock Date object that can be used to change when \"now\" is.", | ||
@@ -8,9 +8,7 @@ "main": "./src/mockdate.js", | ||
"devDependencies": { | ||
"chai": "^3.5.0", | ||
"grunt": "~0.4.2", | ||
"grunt-mocha": "~1.0.2", | ||
"load-grunt-tasks": "~3.5.2" | ||
"mocha": "^3.5.0", | ||
"should": "^11.2.1" | ||
}, | ||
"scripts": { | ||
"test": "grunt mocha" | ||
"test": "mocha" | ||
}, | ||
@@ -17,0 +15,0 @@ "repository": { |
@@ -31,3 +31,3 @@ (function(name, definition) { | ||
default: | ||
d = d || 1; | ||
d = typeof d === 'undefined' ? 1 : d; | ||
h = h || 0; | ||
@@ -34,0 +34,0 @@ M = M || 0; |
Sorry, the diff of this file is not supported yet
9401
50.08%2
-50%165
68.37%