Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 336bb5b

Browse files
committed
WIP: add WTF shim into build/angular.js
Just to make it easier for people to play with it.
1 parent 2a62cd0 commit 336bb5b

File tree

2 files changed

+789
-1
lines changed

2 files changed

+789
-1
lines changed

Gruntfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,9 @@ module.exports = function(grunt) {
176176
},
177177
angular: {
178178
dest: 'build/angular.js',
179-
src: util.wrap([files['angularSrc']], 'angular'),
179+
// Adding WTF shim here for now, so that it's outside of the wrapper function,
180+
// because the shim requires no strict mode.
181+
src: ['wtf/wtf-trace.js'].concat(util.wrap([files['angularSrc']], 'angular')),
180182
styles: {
181183
css: ['css/angular.css'],
182184
generateCspCssFile: true,

0 commit comments

Comments
 (0)