[Groonga-commit] droonga/express-droonga at a902c83 [master] Delegate onUnsubscribe method for unsubscribe commands

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Oct 11 18:49:37 JST 2013


YUKI Hiroshi	2013-10-11 18:49:37 +0900 (Fri, 11 Oct 2013)

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

  Message:
    Delegate onUnsubscribe method for unsubscribe commands

  Modified files:
    lib/adapter/command.js

  Modified: lib/adapter/command.js (+2 -2)
===================================================================
--- lib/adapter/command.js    2013-10-11 18:43:24 +0900 (3b4e358)
+++ lib/adapter/command.js    2013-10-11 18:49:37 +0900 (d607e83)
@@ -47,8 +47,8 @@ util.inherits(PublishSubscribe, Command);
 Object.defineProperty(PublishSubscribe.prototype, 'onSubscribe', {
   get: function() { return this._options.onSubscribe; }
 });
-Object.defineProperty(PublishSubscribe.prototype, 'onSubscribed', {
-  get: function() { return this._options.onSubscribed; }
+Object.defineProperty(PublishSubscribe.prototype, 'onUnsubscribe', {
+  get: function() { return this._options.onUnsubscribe; }
 });
 Object.defineProperty(PublishSubscribe.prototype, 'onNotify', {
   get: function() { return this._options.onNotify; }
-------------- next part --------------
HTML����������������������������...
Download 



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