Skip to content

Commit

Permalink
Delegate onUnsubscribe method for unsubscribe commands
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Oct 11, 2013
1 parent a9db816 commit a902c83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/adapter/command.js
Expand Up @@ -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; }
Expand Down

0 comments on commit a902c83

Please sign in to comment.