Kouhei Sutou
null+****@clear*****
Sat Jan 3 17:14:43 JST 2015
Kouhei Sutou 2015-01-03 17:14:43 +0900 (Sat, 03 Jan 2015) New Revision: a3b3ddb1ead77093e2b60fc8a3dcab1566e85187 https://github.com/groonga/groonga-admin/commit/a3b3ddb1ead77093e2b60fc8a3dcab1566e85187 Message: groonga-client: support column_create Added files: app/scripts/groonga-client/response/column-create.js Modified files: app/index.html Modified: app/index.html (+1 -0) =================================================================== --- app/index.html 2014-12-31 23:51:17 +0900 (ea1789b) +++ app/index.html 2015-01-03 17:14:43 +0900 (4f8e200) @@ -82,6 +82,7 @@ <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/groonga-client/response/column-create.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-create.js (+15 -0) 100644 =================================================================== --- /dev/null +++ app/scripts/groonga-client/response/column-create.js 2015-01-03 17:14:43 +0900 (3367bfe) @@ -0,0 +1,15 @@ +'use strict'; + +(function() { + function ColumnCreate(rawData) { + GroongaClient.Response.Base.call(this, rawData); + } + GroongaClient.Response.ColumnCreate = ColumnCreate; + + ColumnCreate.prototype = Object.create(GroongaClient.Response.Base.prototype); + ColumnCreate.prototype.constructor = ColumnCreate; + + ColumnCreate.prototype.isCreated = function() { + return this.isSuccess() && this.body(); + }; +})(); -------------- next part -------------- HTML����������������������������...Download