Skip to content

Commit 0e97625

Browse files
committed
Use angular.forEach
1 parent f9cdb86 commit 0e97625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resolve.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function $Resolve( $q, $injector) {
129129
}
130130
// Wait for any parameter that we have a promise for (either from parent or from this
131131
// resolve; in that case study() will have made sure it's ordered before us in the plan).
132-
params.forEach(function (dep) {
132+
forEach(params, function (dep) {
133133
if (promises.hasOwnProperty(dep) && !locals.hasOwnProperty(dep)) {
134134
waitParams++;
135135
promises[dep].then(function (result) {

0 commit comments

Comments
 (0)