Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ykzts committed Jun 19, 2012
1 parent c1aba54 commit fe56b2a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/xmlhttprequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
var urlparse = require('url').parse;

function EventTarget() {
this._eventListeners = {};
Object.defineProperty(this, '_eventListeners', {
value: {},
writable: true,
enumerable: false,
configurable: false
});
}

(function(proto) {
Expand Down

0 comments on commit fe56b2a

Please sign in to comment.