[Groonga-commit] droonga/express-droonga at 9a08d04 [master] Fix typo

Back to archive index

HAYASHI Kentaro null+****@clear*****
Fri Oct 18 10:16:45 JST 2013


HAYASHI Kentaro	2013-10-18 10:16:45 +0900 (Fri, 18 Oct 2013)

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

  Merged e1867cb: Merge pull request #17 from kenhys/fix-socket-io-typo

  Message:
    Fix typo
    
    conect ->
    connect
       ^

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

  Modified: lib/adapter/socket.io.js (+4 -4)
===================================================================
--- lib/adapter/socket.io.js    2013-10-17 18:06:01 +0900 (8a2a2fa)
+++ lib/adapter/socket.io.js    2013-10-18 10:16:45 +0900 (54dc02d)
@@ -89,16 +89,16 @@ exports.register = function(application, server, params) {
         }
       };
 
-      var wrappedConection = new wrapper.DroongaProtocolConnectionWrapper(connection, callback, droongaMessageOptions);
+      var wrappedConnection = new wrapper.DroongaProtocolConnectionWrapper(connection, callback, droongaMessageOptions);
       if (commandDefinition[requestHandler]) {
         try {
-          commandDefinition[requestHandler](data, wrappedConection);
+          commandDefinition[requestHandler](data, wrappedConnection);
         } catch(error) {
-          wrappedConection.destroy();
+          wrappedConnection.destroy();
           socket.emit('error', error.message || error);
         }
       } else {
-        wrappedConection.emit(commandName, data);
+        wrappedConnection.emit(commandName, data);
       }
     });
   }
-------------- next part --------------
HTML����������������������������...
Download 



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