[Groonga-commit] groonga/groonga-admin at 683f276 [master] groonga-client: support table_remove

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Dec 31 23:50:44 JST 2014


Kouhei Sutou	2014-12-31 23:50:44 +0900 (Wed, 31 Dec 2014)

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

  Message:
    groonga-client: support table_remove

  Added files:
    app/scripts/groonga-client/response/table-remove.js
  Modified files:
    app/index.html

  Modified: app/index.html (+1 -0)
===================================================================
--- app/index.html    2014-12-31 23:42:36 +0900 (e6279a5)
+++ app/index.html    2014-12-31 23:50:44 +0900 (ea1789b)
@@ -80,6 +80,7 @@
         <script src="scripts/groonga-client/response/select.js"></script>
         <script src="scripts/groonga-client/response/table-list.js"></script>
         <script src="scripts/groonga-client/response/table-create.js"></script>
+        <script src="scripts/groonga-client/response/table-remove.js"></script>
         <script src="scripts/groonga-client/response/column-list.js"></script>
         <script src="scripts/app.js"></script>
         <script src="scripts/services/schema-loader.js"></script>

  Added: app/scripts/groonga-client/response/table-remove.js (+15 -0) 100644
===================================================================
--- /dev/null
+++ app/scripts/groonga-client/response/table-remove.js    2014-12-31 23:50:44 +0900 (46481a2)
@@ -0,0 +1,15 @@
+'use strict';
+
+(function() {
+  function TableRemove(rawData) {
+    GroongaClient.Response.Base.call(this, rawData);
+  }
+  GroongaClient.Response.TableRemove = TableRemove;
+
+  TableRemove.prototype = Object.create(GroongaClient.Response.Base.prototype);
+  TableRemove.prototype.constructor = TableRemove;
+
+  TableRemove.prototype.isRemoved = function() {
+    return this.isSuccess() && this.body();
+  };
+})();
-------------- next part --------------
HTML����������������������������...
Download 



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