Skip to content

Commit d2ced6b

Browse files
committed
Merge pull request #392 from trask/ie8-fix
0.2.0 not working in IE8 without es5-shim
2 parents f9cdb86 + 0e97625 commit d2ced6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resolve.js

+1-1
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)