Clear args and thisArg in debounce cancel.

This commit is contained in:
John-David Dalton
2015-10-07 13:21:52 -07:00
parent 2d3e64b51a
commit 051e5a6308

View File

@@ -7940,7 +7940,7 @@
clearTimeout(maxTimeoutId); clearTimeout(maxTimeoutId);
} }
lastCalled = 0; lastCalled = 0;
maxTimeoutId = timeoutId = trailingCall = undefined; args = maxTimeoutId = thisArg = timeoutId = trailingCall = undefined;
} }
function complete(isCalled, id) { function complete(isCalled, id) {