YUKI Hiroshi
null+****@clear*****
Mon Dec 16 16:09:46 JST 2013
YUKI Hiroshi 2013-12-16 16:09:46 +0900 (Mon, 16 Dec 2013) New Revision: 8e4af000807656e29ccfabd524f2e16b6586d595 https://github.com/droonga/express-droonga/commit/8e4af000807656e29ccfabd524f2e16b6586d595 Message: Fix wrong parent of mixed classes Modified files: lib/adapter/command.js Modified: lib/adapter/command.js (+3 -3) =================================================================== --- lib/adapter/command.js 2013-12-16 16:07:11 +0900 (d818e67) +++ lib/adapter/command.js 2013-12-16 16:09:46 +0900 (dd176c0) @@ -105,7 +105,7 @@ function HTTPRequestResponse(options) { Command.apply(this, arguments); } HTTPRequestResponse.extend = function(targetClass) { - Command.extend(targetClass); + HTTPCommand.extend(targetClass); RequestResponse.extend(targetClass); if (targetClass.commandTypes.indexOf(this) > -1) return; @@ -133,7 +133,7 @@ function SocketRequestResponse(options) { Command.apply(this, arguments); } SocketRequestResponse.extend = function(targetClass) { - Command.extend(targetClass); + SocketCommand.extend(targetClass); RequestResponse.extend(targetClass); if (targetClass.commandTypes.indexOf(this) > -1) return; @@ -147,7 +147,7 @@ function SocketPublishSubscribe(options) { Command.apply(this, arguments); } SocketPublishSubscribe.extend = function(targetClass) { - Command.extend(targetClass); + SocketCommand.extend(targetClass); PublishSubscribe.extend(targetClass); if (targetClass.commandTypes.indexOf(this) > -1) return; -------------- next part -------------- HTML����������������������������... Download