kai-jacobsen/kontentblocks

View on GitHub
js/src/fields/RefieldsController.js

Summary

Maintainability
A
0 mins
Test Coverage
var Fields = require('./Fields');
window.KB.Fields = Fields;
Fields.registerObject('color', require('./controls/color'));
Fields.registerObject('datetime', require('./controls/datetime'));
Fields.registerObject('file', require('./controls/file'));
Fields.registerObject('file-multiple', require('./controls/file-multiple'));
Fields.registerObject('flexfields', require('./controls/flexfields'));
Fields.registerObject('gallery', require('./controls/gallery'));
Fields.registerObject('gallery2', require('./controls/gallery2'));
Fields.registerObject('gallery-ext', require('./controls/gallery-ext'));
Fields.registerObject('image', require('./controls/image'));
Fields.registerObject('cropimage', require('./controls/cropimage'));
Fields.registerObject('link', require('./controls/link'));
Fields.registerObject('textarea', require('./controls/textarea'));
Fields.registerObject('code', require('./controls/code'));
Fields.registerObject('text', require('./controls/text'));
Fields.registerObject('checkbox', require('./controls/checkbox'));
Fields.registerObject('text-multiple', require('./controls/text-multiple'));
Fields.registerObject('multitext', require('./controls/text-multiple'));
Fields.registerObject('date-multiple', require('./controls/date-multiple'));
Fields.registerObject('tagsinput', require('./controls/tagsinput'));
Fields.registerObject('multiselect', require('./controls/multiselect'));
Fields.registerObject('select', require('./controls/select'));
Fields.registerObject('editor', require('./controls/editor'));
Fields.registerObject('otimes', require('./controls/otimes'));
Fields.registerObject('oembed', require('./controls/oembed'));
Fields.registerObject('subarea', require('./controls/subarea'));
Fields.registerObject('medium', require('./controls/medium'));
Fields.registerObject('imageselect', require('./controls/imageselect'));
Fields.registerObject('osm', require('./controls/osm'));