diff options
| author | Igor Minar | 2011-07-17 00:47:11 -0700 |
|---|---|---|
| committer | Igor Minar | 2011-07-18 12:12:54 -0700 |
| commit | 4c6d26a38f977f61d4deaacfd6b6c71f331e8065 (patch) | |
| tree | fc291897c2e61097f2cabdf1963ed752704fd24a /test/testabilityPatch.js | |
| parent | c43ce91b2534fe36994fd74cf8d159e54909d8ca (diff) | |
| download | angular.js-4c6d26a38f977f61d4deaacfd6b6c71f331e8065.tar.bz2 | |
fix(strict mode): fix all issues discovered by strict mode and unit/e2e tests
Diffstat (limited to 'test/testabilityPatch.js')
| -rw-r--r-- | test/testabilityPatch.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js index 34e1710b..375e01c7 100644 --- a/test/testabilityPatch.js +++ b/test/testabilityPatch.js @@ -8,7 +8,7 @@ _jQuery.event.special.change = undefined; if (window.jstestdriver) { - jstd = jstestdriver; + window.jstd = jstestdriver; window.dump = function(){ var args = []; forEach(arguments, function(arg){ @@ -175,8 +175,7 @@ extend(angular, { 'isFunction': isFunction, 'isObject': isObject, 'isNumber': isNumber, - 'isArray': isArray, - 'forEach': forEach + 'isArray': isArray }); @@ -317,8 +316,8 @@ function assertThrows(error, fn){ assertEquals(error, exception); } -log = noop; -error = noop; +window.log = noop; +window.error = noop; function rethrow(e) { if(e) { |
