fix(angular-mocks): fix forEach -> angular.forEach in $browser.defer.cancel

This commit is contained in:
Igor Minar 2011-09-16 01:39:03 +02:00
parent e14ac2c3b0
commit 8336f3f0ba

View file

@ -279,7 +279,7 @@ function MockBrowser() {
self.defer.cancel = function(deferId) {
var fnIndex;
forEach(self.deferredFns, function(fn, index) {
angular.forEach(self.deferredFns, function(fn, index) {
if (fn.id === deferId) fnIndex = index;
});