mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 03:55:49 +08:00
feat(strict mode): adding strict mode flag to all js files
the flag must be in all src and test files so that we get the benefit of running in the strict mode even in jstd the following script was used to modify all files: for file in `find src test -name "*.js"`; do echo -e "'use strict';\n" > temp.txt cat $file >> temp.txt mv temp.txt $file done
This commit is contained in:
2
test/jquery_remove.js
vendored
2
test/jquery_remove.js
vendored
@@ -1 +1,3 @@
|
||||
'use strict';
|
||||
|
||||
var _jQuery = jQuery.noConflict(true);
|
||||
|
||||
Reference in New Issue
Block a user