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

Add String.prototype methods to the chain object #383

Merged
merged 1 commit into from
Jan 15, 2015

Conversation

esamattis
Copy link
Owner

Closes #371

});

function prototype2method(methodName) {
fn2method(methodName, function() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fn2method(methodName, function(context) {
    var args = Array.prototype.slice.call(arguments, 1);

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check

@stoeffel
Copy link
Collaborator

Two small code style things. But the rest looks good.

esamattis added a commit that referenced this pull request Jan 15, 2015
Add String.prototype methods to the chain object
@esamattis esamattis merged commit e2b52d8 into master Jan 15, 2015
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.

Add String.prototype methods to the chain object
2 participants