[Groonga-commit] groonga/express-kotoumi [master] Fix mismatched variable name

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Feb 7 19:01:20 JST 2013


YUKI Hiroshi	2013-02-07 19:01:20 +0900 (Thu, 07 Feb 2013)

  New Revision: 1e3eb6fb688e2feee12ec1dc152c31c0442f49ab
  https://github.com/groonga/express-kotoumi/commit/1e3eb6fb688e2feee12ec1dc152c31c0442f49ab

  Log:
    Fix mismatched variable name

  Modified files:
    lib/frontend/socket.io-adaptor.js

  Modified: lib/frontend/socket.io-adaptor.js (+1 -1)
===================================================================
--- lib/frontend/socket.io-adaptor.js    2013-02-07 18:46:18 +0900 (9b83e2f)
+++ lib/frontend/socket.io-adaptor.js    2013-02-07 19:01:20 +0900 (01ca4f7)
@@ -46,7 +46,7 @@ exports.register = function(application, server, params) {
       var options = {};
       if (model.isA(commandDefinition, model.RequestResponse)) {
         callback = function(envelope) {
-          var event = event.type;
+          var event = envelope.type;
           var data = envelope.body;
 
           if (commandDefinition.toClient) {
-------------- next part --------------
HTML����������������������������...
Download 



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