Closed StevenWarren closed 7 years ago
Yes - that looks good. Funny, was not getting the error on my computer. ZIM 5.3.1 has been patched with the change. Please let me know if that fixed it for you - and thanks!!
LOL, the old "it works on my computer". It appears to be working, thanks for the great framework.
When using zim.timeout with 100 or less set for the delay I am getting the following error:
zim_5.3.0.js:5 Uncaught TypeError: n.clear is not a function at o (zim_5.3.0.js:5) at Object.e.timeout (zim_5.3.0.js:5) ....
It appears that this is happening due to next() being called on in zim.timeout() before obj,clear() and obj.pause() are set.
Test:
zim.timeout(10, function(){zog("this is a test")});
Possible Fix: Move the next() call after obj.clear and obj.pause are set.
` zim.timeout = function(time, call) {
} `
The fix seems harmless, but not sure if this may have implications elsewhere in the code.