Kouhei Sutou
null+****@clear*****
Sat Jan 3 17:22:11 JST 2015
Kouhei Sutou 2015-01-03 17:22:11 +0900 (Sat, 03 Jan 2015) New Revision: 345db083a0395889811f869ba098cd84207c1b52 https://github.com/groonga/groonga-admin/commit/345db083a0395889811f869ba098cd84207c1b52 Message: groonga-client: support column_remove Added files: app/scripts/groonga-client/response/column-remove.js Modified files: app/index.html Modified: app/index.html (+1 -0) =================================================================== --- app/index.html 2015-01-03 17:21:52 +0900 (c0eb7f4) +++ app/index.html 2015-01-03 17:22:11 +0900 (ed1c62d) @@ -83,6 +83,7 @@ <script src="scripts/groonga-client/response/table-remove.js"></script> <script src="scripts/groonga-client/response/column-list.js"></script> <script src="scripts/groonga-client/response/column-create.js"></script> + <script src="scripts/groonga-client/response/column-remove.js"></script> <script src="scripts/app.js"></script> <script src="scripts/services/schema-loader.js"></script> <script src="scripts/controllers/top-controller.js"></script> Added: app/scripts/groonga-client/response/column-remove.js (+15 -0) 100644 =================================================================== --- /dev/null +++ app/scripts/groonga-client/response/column-remove.js 2015-01-03 17:22:11 +0900 (1571f0c) @@ -0,0 +1,15 @@ +'use strict'; + +(function() { + function ColumnRemove(rawData) { + GroongaClient.Response.Base.call(this, rawData); + } + GroongaClient.Response.ColumnRemove = ColumnRemove; + + ColumnRemove.prototype = Object.create(GroongaClient.Response.Base.prototype); + ColumnRemove.prototype.constructor = ColumnRemove; + + ColumnRemove.prototype.isRemoved = function() { + return this.isSuccess() && this.body(); + }; +})(); -------------- next part -------------- HTML����������������������������...Download