Skip to content

Commit

Permalink
Edit for code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhanson committed May 26, 2017
1 parent 9660973 commit 08ac92e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ Component.prototype.create = function(container) {
// objects that are dependencies of the object being created.
var deps = this.dependencies
, promises = []
, promise, p;
for (var i = 0, len = deps.length; i < len; ++i) {
, promise, p, i, len;
for (i = 0, len = deps.length; i < len; ++i) {
promise = container.create(deps[i], this);
promises.push(promise);
}
Expand Down

0 comments on commit 08ac92e

Please sign in to comment.