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 2d489ff936
commit 855971c385

View file

@ -296,7 +296,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;
});