Skip to content
This repository was archived by the owner on Dec 12, 2018. It is now read-only.

Commit ce2191f

Browse files
author
Timothy E. Johansson
committed
correction: the iteration actually aborts when the iterator returns false
1 parent 953774f commit ce2191f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66

77
* Fixed: `collection.every(iterator, callback)`. The callback was being invoked
88
on every page request to the API (it should only be called once the entire
9-
collection has been paginated). The iteration would be aborted if the
10-
iterator returned `false`. This is now fixed, and the iterator continues
11-
regardless of the return value of the iterator (as `every` should do).
9+
collection has been paginated). The iteration wouldn't be aborted if the
10+
iterator returned `false`. This is now fixed.
1211

1312
* Tests have been improved for readability.
1413

0 commit comments

Comments
 (0)