[Pkg-javascript-commits] [ltx] 119/469: stream_parser: call EventEmitter ctor

Jonas Smedegaard dr at jones.dk
Wed Aug 31 13:01:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository ltx.

commit 75436a001f4f2a22fbd31b75ef94e468d4b32cab
Author: Astro <astro at spaceboyz.net>
Date:   Thu Sep 9 01:41:53 2010 +0200

    stream_parser: call EventEmitter ctor
---
 lib/xmpp/stream_parser.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/xmpp/stream_parser.js b/lib/xmpp/stream_parser.js
index a731075..d53de14 100644
--- a/lib/xmpp/stream_parser.js
+++ b/lib/xmpp/stream_parser.js
@@ -4,6 +4,8 @@ var expat = require('node-expat');
 var xml = require('./xml');
 
 function StreamParser(charset) {
+    EventEmitter.call(this);
+
     var self = this;
     this.parser = new expat.Parser(charset);
     this.bytesParsedOnStanzaBegin = 0;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/ltx.git



More information about the Pkg-javascript-commits mailing list