Skip to content

Commit

Permalink
Fixed problem with promise assimilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskowal committed Mar 25, 2011
1 parent 2638ace commit d74f2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/q.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ function ref(object) {
} else {
var result = defer();
object.then(result.resolve, result.reject);
return result;
return result.promise;
}
});
}
Expand Down

0 comments on commit d74f2be

Please sign in to comment.