Skip to content

Commit

Permalink
Merge pull request #392 from trask/ie8-fix
Browse files Browse the repository at this point in the history
0.2.0 not working in IE8 without es5-shim
  • Loading branch information
nateabele committed Sep 7, 2013
2 parents f9cdb86 + 0e97625 commit d2ced6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resolve.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function $Resolve( $q, $injector) {
}
// Wait for any parameter that we have a promise for (either from parent or from this
// resolve; in that case study() will have made sure it's ordered before us in the plan).
params.forEach(function (dep) {
forEach(params, function (dep) {
if (promises.hasOwnProperty(dep) && !locals.hasOwnProperty(dep)) {
waitParams++;
promises[dep].then(function (result) {
Expand Down

0 comments on commit d2ced6b

Please sign in to comment.