-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
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
Tidy up support for drop() PR #244
Conversation
var s = _(function (push, next) { | ||
push(null, 1), | ||
push(new Error('Drop error')), | ||
push(null, 2), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it me, or is the spacing off around here?
tidy up error handling and tests add no value on error test fix docs and no value on error test add note about error handling
313aa1b
to
1dbfad6
Compare
All tidied up. |
@@ -2372,6 +2371,43 @@ Stream.prototype.take = function (n) { | |||
exposeMethod('take'); | |||
|
|||
/** | |||
* Acts as the inverse of `take(n)` - instead of returning the first `n` values, it ignores the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put a link to the take
docs here? [take](#take)
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, makes sense given that they're not beside each other in the docs.
OK. This looks good to me. Thanks @alexbeletsky and @svozza. |
Fixed the few minor outstanding issues on #75 to resolve #11