[Groonga-commit] droonga/express-droonga at 4674be0 [master] Receive notification events correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Oct 16 16:44:25 JST 2013


YUKI Hiroshi	2013-10-16 16:44:25 +0900 (Wed, 16 Oct 2013)

  New Revision: 4674be08505f5abe65649baa6836215898a027bc
  https://github.com/droonga/express-droonga/commit/4674be08505f5abe65649baa6836215898a027bc

  Message:
    Receive notification events correctly

  Modified files:
    lib/adapter/socket.io.js

  Modified: lib/adapter/socket.io.js (+1 -0)
===================================================================
--- lib/adapter/socket.io.js    2013-10-16 16:21:46 +0900 (4f03ae8)
+++ lib/adapter/socket.io.js    2013-10-16 16:44:25 +0900 (b4da7a7)
@@ -169,6 +169,7 @@ exports.register = function(application, server, params) {
         var notificationEvent = registeredCommand.name + '.notification';
         var notificationHandler = createNotificationHandler(notificationEvent, socket);
         connection.on(notificationEvent, notificationHandler);
+        unifiedCommandSet[notificationEvent] = registeredCommand.definition;
         events.push(notificationEvent);
         handlers[notificationEvent] = notificationHandler;
       } else {
-------------- next part --------------
HTML����������������������������...
Download 



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