Fix _.throttle test for system time of 0.

This commit is contained in:
John-David Dalton
2016-05-16 18:33:36 -07:00
parent 1fe8d1679e
commit df9ded3282

View File

@@ -22640,12 +22640,12 @@
var lodash = _.runInContext({
'Date': {
'now': function() {
return ++dateCount == 1 ? 0 : +new Date;
return ++dateCount < 4 ? 0 : +new Date;
}
}
});
var throttled = _.throttle(function(value) {
var throttled = lodash.throttle(function(value) {
callCount++;
return value;
}, 32);