[Groonga-commit] groonga/express-droonga at 6d17969 [master] Add missing calling parent constructor

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jul 22 22:37:03 JST 2013


Kouhei Sutou	2013-07-22 22:37:03 +0900 (Mon, 22 Jul 2013)

  New Revision: 6d17969ca8ed25b1c15c881b90b1c64270255b91
  https://github.com/groonga/express-droonga/commit/6d17969ca8ed25b1c15c881b90b1c64270255b91

  Message:
    Add missing calling parent constructor

  Modified files:
    lib/backend/connection.js
    lib/backend/receiver.js

  Modified: lib/backend/connection.js (+1 -0)
===================================================================
--- lib/backend/connection.js    2013-07-22 00:17:56 +0900 (426c700)
+++ lib/backend/connection.js    2013-07-22 22:37:03 +0900 (0da8581)
@@ -34,6 +34,7 @@ var DEFAULT_RESPONSE_TIMEOUT =
         60 * 1000;
 
 function Connection(params) {
+  EventEmitter.call(this);
   this._params = params || {};
   this._init();
 }

  Modified: lib/backend/receiver.js (+1 -0)
===================================================================
--- lib/backend/receiver.js    2013-07-22 00:17:56 +0900 (d4cd589)
+++ lib/backend/receiver.js    2013-07-22 22:37:03 +0900 (d29d36f)
@@ -5,6 +5,7 @@ var EventEmitter = require('events').EventEmitter;
 var msgpack = require('msgpack');
 
 function MsgPackReceiver(port) {
+  EventEmitter.call(this);
   this.port = port || undefined;
   this._init();
 }
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index