Index: trunk/parsers/wikidom/lib/es/es.EventEmitter.js |
— | — | @@ -74,7 +74,7 @@ |
75 | 75 | es.EventEmitter.prototype.once = function( type, listener ) { |
76 | 76 | var eventEmitter = this; |
77 | 77 | return this.addListener( type, function listenerWrapper() { |
78 | | - that.removeListener( type, listenerWrapper ); |
| 78 | + eventEmitter.removeListener( type, listenerWrapper ); |
79 | 79 | listener.apply( eventEmitter, arguments ); |
80 | 80 | } ); |
81 | 81 | }; |