Skip to content

Commit

Permalink
Merge pull request #653 from marmelab/getFieldConstructor
Browse files Browse the repository at this point in the history
[RFR] Expose field constructors to avoid Webpack/Babel fuss
  • Loading branch information
jpetitcolas committed Sep 2, 2015
2 parents 7a7d3a0 + 1f020f4 commit 4e0c502
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ NgAdminConfiguration.prototype.registerFieldType = function(name, type) {
return this.adminDescription.registerFieldType(name, type);
};

NgAdminConfiguration.prototype.getFieldConstructor = function(name) {
return this.adminDescription.getFieldConstructor(name);
};

NgAdminConfiguration.prototype.menu = function(entity) {
return this.adminDescription.menu(entity);
};
Expand Down

0 comments on commit 4e0c502

Please sign in to comment.