Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
fix(angular-mocks): fix forEach -> angular.forEach in $browser.defer.…
Browse files Browse the repository at this point in the history
…cancel
  • Loading branch information
IgorMinar committed Sep 15, 2011
1 parent e14ac2c commit 8336f3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/angular-mocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});

Expand Down

0 comments on commit 8336f3f

Please sign in to comment.