diff options
| author | Igor Minar | 2011-05-19 00:19:21 -0700 | 
|---|---|---|
| committer | Igor Minar | 2011-07-18 12:12:55 -0700 | 
| commit | b98c23274b4dd51205d5020a254ac53966c9ae9a (patch) | |
| tree | cdf295894402739bca0e9462b610f361b24c8322 /src | |
| parent | 4c6d26a38f977f61d4deaacfd6b6c71f331e8065 (diff) | |
| download | angular.js-b98c23274b4dd51205d5020a254ac53966c9ae9a.tar.bz2 | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/angular.prefix | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/src/angular.prefix b/src/angular.prefix index b9ccc3fb..473b10e4 100644 --- a/src/angular.prefix +++ b/src/angular.prefix @@ -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){ | 
