[Groonga-commit] groonga/groonga-admin at 00093e5 [master] Fix wrong String.replace usage

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Nov 10 15:15:09 JST 2014


Kouhei Sutou	2014-11-10 15:15:09 +0900 (Mon, 10 Nov 2014)

  New Revision: 00093e5b4a6be55c89ed5e6446bf24b44e40be7c
  https://github.com/groonga/groonga-admin/commit/00093e5b4a6be55c89ed5e6446bf24b44e40be7c

  Message:
    Fix wrong String.replace usage

  Modified files:
    app/scripts/groonga-client.js

  Modified: app/scripts/groonga-client.js (+1 -1)
===================================================================
--- app/scripts/groonga-client.js    2014-11-10 15:01:20 +0900 (e341207)
+++ app/scripts/groonga-client.js    2014-11-10 15:15:09 +0900 (bfa631c)
@@ -48,7 +48,7 @@
   GroongaClient.Request.prototype.commandLine = function() {
     function escapeCommandValue(value) {
       return value.toString().replace(/(["\\])/g, function(match) {
-        return '\\' + match[1];
+        return '\\' + match;
       });
     }
 
-------------- next part --------------
HTML����������������������������...
下載 



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