mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
_.after(0, callback) now fires callback immediately
This commit is contained in:
@@ -188,6 +188,7 @@ $(document).ready(function() {
|
||||
|
||||
equals(testAfter(5, 5), 1, "after(N) should fire after being called N times");
|
||||
equals(testAfter(5, 4), 0, "after(N) should not fire unless called N times");
|
||||
equals(testAfter(0, 0), 1, "after(0) should fire immediately");
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user