Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Make angular ES5 "strict mode" compatible #223

Closed
IgorMinar opened this issue Jan 8, 2011 · 0 comments
Closed

Make angular ES5 "strict mode" compatible #223

IgorMinar opened this issue Jan 8, 2011 · 0 comments

Comments

@IgorMinar
Copy link
Contributor

this shouldn't be too hard for us and could save us a lot of time hunting down silly bugs

http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/

FF4 already has support for this and I'd expect other browsers to catch up soon as well.

compatibility matrix: http://kangax.github.com/es5-compat-table/

IgorMinar added a commit to IgorMinar/angular.js that referenced this issue Jul 17, 2011
- add 'use strict'; statement to the prefix file
- configure closure compiler to use the ES5 strict mode
- strip all file-specific strict mode flags after concatination

Closes angular#223
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant