Use newest Javascript #1403

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

Comments

Projects
None yet
1 participant
Collaborator

arantius commented Aug 29, 2011

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.)

arantius closed this in 1dcb930 Sep 1, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment