Skip to content

Commit

Permalink
damn tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
erights authored and kriskowal committed Jul 7, 2013
1 parent 56304a6 commit d144e13
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions q.js
Original file line number Diff line number Diff line change
Expand Up @@ -649,9 +649,9 @@ Q.join = join;
function join(x, y) {
return Q.all([x, y]).spread(function(x, y) {
if (x === y) {
// TODO: "===" should be Object.is or equiv
return x;
}
// TODO: "===" should be Object.is or equiv
return x;
}
throw new Error("not the same");
});
}
Expand All @@ -665,8 +665,8 @@ function race(answerPs) {
// });
// Use this in the meantime
for (var i = 0, len = answerPs.length; i < len; i++) {
Q(answerPs[i]).then(resolve,reject);
}
Q(answerPs[i]).then(resolve,reject);
}
});
}

Expand Down

0 comments on commit d144e13

Please sign in to comment.