[Groonga-commit] groonga/groonga-admin at bea5f1c [master] table_create: fix wrong comparision

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Dec 31 23:39:56 JST 2014


Kouhei Sutou	2014-12-31 23:39:56 +0900 (Wed, 31 Dec 2014)

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

  Message:
    table_create: fix wrong comparision

  Modified files:
    app/scripts/groonga-client/response/table-create.js

  Modified: app/scripts/groonga-client/response/table-create.js (+1 -1)
===================================================================
--- app/scripts/groonga-client/response/table-create.js    2014-12-31 23:18:33 +0900 (111cbe9)
+++ app/scripts/groonga-client/response/table-create.js    2014-12-31 23:39:56 +0900 (11d6908)
@@ -19,6 +19,6 @@
   };
 
   TableCreate.prototype.isCreated = function() {
-    return this.isSuccess() && this.body() == 1;
+    return this.isSuccess() && this.body() === true;
   };
 })();
-------------- next part --------------
HTML����������������������������...
Download 



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