projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f652b6
)
FIX: EventEmitter call in Promise
author
Jonas Pfenniger
<jonas@pfenniger.name>
Wed, 20 Jan 2010 21:04:00 +0000
(22:04 +0100)
committer
Ryan Dahl
<ry@tinyclouds.org>
Wed, 20 Jan 2010 22:59:38 +0000
(14:59 -0800)
src/node.js
patch
|
blob
|
history
diff --git
a/src/node.js
b/src/node.js
index
31290dd
..
3062d85
100644
(file)
--- a/
src/node.js
+++ b/
src/node.js
@@
-192,7
+192,7
@@
var eventsModule = createInternalModule('events', function (exports) {
};
exports.Promise = function () {
- exports.EventEmitter.call();
+ exports.EventEmitter.call(
this
);
this._blocking = false;
this.hasFired = false;
this._values = undefined;