Skip to content

Commit

Permalink
Remove needless method (added by Configurable)
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Feb 24, 2015
1 parent e401f89 commit 07e1c04
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/javascripts/ng-admin/Main/component/service/config/Field.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit 07e1c04

Please sign in to comment.