Generated file for date tick fix
This commit is contained in:
@@ -1428,7 +1428,7 @@ getJasmineRequireObj().DelayedFunctionScheduler = function() {
|
|||||||
function runScheduledFunctions(endTime, tickDate) {
|
function runScheduledFunctions(endTime, tickDate) {
|
||||||
tickDate = tickDate || function() {};
|
tickDate = tickDate || function() {};
|
||||||
if (scheduledLookup.length === 0 || scheduledLookup[0] > endTime) {
|
if (scheduledLookup.length === 0 || scheduledLookup[0] > endTime) {
|
||||||
tickDate(endTime);
|
tickDate(endTime - currentTime);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1455,6 +1455,11 @@ getJasmineRequireObj().DelayedFunctionScheduler = function() {
|
|||||||
// scheduled in a funcToRun from forcing an extra iteration
|
// scheduled in a funcToRun from forcing an extra iteration
|
||||||
currentTime !== endTime &&
|
currentTime !== endTime &&
|
||||||
scheduledLookup[0] <= endTime);
|
scheduledLookup[0] <= endTime);
|
||||||
|
|
||||||
|
// ran out of functions to call, but still time left on the clock
|
||||||
|
if (currentTime !== endTime) {
|
||||||
|
tickDate(endTime - currentTime);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user