mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 03:55:49 +08:00
feat(strict mode): turn on ECMAScript 5 strict mode
- 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 #223
This commit is contained in:
@@ -21,4 +21,5 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
'USE STRICT';
|
||||
(function(window, document, undefined){
|
||||
|
||||
Reference in New Issue
Block a user