Created
August 26, 2015 09:34
-
-
Save danhper/361f96103d8fd7f27179 to your computer and use it in GitHub Desktop.
Add 'use strict' to all js files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find $DIR -iname '*.js' -exec sed -i "1 i\'use strict';\n" {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment