mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-27 23:14:00 +00:00
fix(angular-mocks): fix forEach -> angular.forEach in $browser.defer.cancel
This commit is contained in:
parent
2d489ff936
commit
855971c385
1 changed files with 1 additions and 1 deletions
2
src/angular-mocks.js
vendored
2
src/angular-mocks.js
vendored
|
|
@ -296,7 +296,7 @@ function MockBrowser() {
|
||||||
self.defer.cancel = function(deferId) {
|
self.defer.cancel = function(deferId) {
|
||||||
var fnIndex;
|
var fnIndex;
|
||||||
|
|
||||||
forEach(self.deferredFns, function(fn, index) {
|
angular.forEach(self.deferredFns, function(fn, index) {
|
||||||
if (fn.id === deferId) fnIndex = index;
|
if (fn.id === deferId) fnIndex = index;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue