We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In https://github.com/redgeoff/sporks/blob/master/scripts/collection.js#L11 return false as this way the outer each() can exit when the nested each exits, e.g.
var items = { a: { a1: 1, a2: 2 }, b: { b1: 1, b2: 2} }; sporks.each(items, function (i, nestedItems) { var inner = sporks.each(nestedItems, function (j) { if (j === 'a2') { return false; } }); if (!inner) { return false } });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In https://github.com/redgeoff/sporks/blob/master/scripts/collection.js#L11 return false as this way the outer each() can exit when the nested each exits, e.g.
The text was updated successfully, but these errors were encountered: