Closed th507 closed 11 years ago
Proposed fix for #12
In the original code, if I call defer with a negative frame, like fastdom.defer(-1, fn), the inner wrapper function will run infinitely. It's a bit difficult to write a proper test case for this scenario, but I'm sure you get the picture.
fastdom.defer(-1, fn)
Thank you very much for this =]
Proposed fix for #12
In the original code, if I call defer with a negative frame, like
fastdom.defer(-1, fn)
, the inner wrapper function will run infinitely. It's a bit difficult to write a proper test case for this scenario, but I'm sure you get the picture.