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

Clarify that Function.bind example will not work in many browsers #4

Closed
addyosmani opened this issue May 12, 2011 · 1 comment
Closed
Assignees

Comments

@addyosmani
Copy link
Member

Function.bind is mentioned in the following locations:

https://github.com/jquery/web-learn-jquery-com/blob/master/content/javascript-101/closures.md
https://github.com/jquery/web-learn-jquery-com/blob/master/content/javascript-101/this-keyword.md (actual example)

As per the ticket subject, we should probably expand on this to cover the fact it won't work in older browsers.

May integrate some of the MDC compatibility notes here as a part of this: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function/bind

@ghost ghost assigned addyosmani May 12, 2011
@addyosmani
Copy link
Member Author

A section on Function.bind has been added with the notes regarding browser compatibility. https://github.com/jquery/web-learn-jquery-com/blob/master/content/javascript-101/closures.md

Please feel free to edit or re-arrange if you feel it can be better presented :)

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