Skip to content
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

Simplify chain #1691

Merged
merged 1 commit into from
Jun 18, 2014
Merged

Simplify chain #1691

merged 1 commit into from
Jun 18, 2014

Conversation

megawac
Copy link
Collaborator

@megawac megawac commented Jun 18, 2014

Styles it to be inherited to _.prototype with the rest of the functions

@braddunbar
Copy link
Collaborator

Beautiful! Thanks @megawac!

braddunbar added a commit that referenced this pull request Jun 18, 2014
@braddunbar braddunbar merged commit 32b83af into jashkenas:master Jun 18, 2014
@jdalton
Copy link
Contributor

jdalton commented Jun 18, 2014

A side effect of this

var a = _([1]);
var b = a.chain();
a === b; // => was `true` but with the patch will be `false`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants