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

Use newest Javascript #1403

Closed
arantius opened this issue Aug 22, 2011 · 2 comments
Closed

Use newest Javascript #1403

arantius opened this issue Aug 22, 2011 · 2 comments
Milestone

Comments

@arantius
Copy link
Collaborator

https://developer.mozilla.org/en/JavaScript/New_in_JavaScript/1.8.5

Firefox 4+ supports JS 1.8.5.

@arantius
Copy link
Collaborator Author

@arantius
Copy link
Collaborator Author

Done, and the per-function strict mode ( https://developer.mozilla.org/en/JavaScript/Strict_mode#Strict_mode_for_functions ) now works in Firefox 4+.

(Per-script doesn't because A: we prepend a newline between the (possibly empty set of) requires and script itself and B) thus the whole "crossing streams" issue happens, with requires, anyway. So authors should just wrap themselves up in a cozy function if they want strict mode.)

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

No branches or pull requests

1 participant