From 07e1c044b1d862120fe5fcce5ebaac95b82645da Mon Sep 17 00:00:00 2001 From: Francois Zaninotto Date: Tue, 24 Feb 2015 09:21:23 +0100 Subject: [PATCH] Remove needless method (added by Configurable) --- .../Main/component/service/config/Field.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/javascripts/ng-admin/Main/component/service/config/Field.js b/src/javascripts/ng-admin/Main/component/service/config/Field.js index c7d29ca8..75d3288b 100644 --- a/src/javascripts/ng-admin/Main/component/service/config/Field.js +++ b/src/javascripts/ng-admin/Main/component/service/config/Field.js @@ -44,22 +44,6 @@ define(function (require) { Configurable(Field.prototype, config); - /** - * Set or get the type - * - * @param {String} type - * @returns string|Field - */ - Field.prototype.type = function (type) { - if (arguments.length === 0) { - return this.config.type; - } - - this.config.type = type; - - return this; - }; - /** * Add a map function *