diff --git a/muk_web_utils/static/src/js/fields/color.js b/muk_web_utils/static/src/js/fields/color.js index d5c3fe8..66becfb 100644 --- a/muk_web_utils/static/src/js/fields/color.js +++ b/muk_web_utils/static/src/js/fields/color.js @@ -119,6 +119,9 @@ var FieldColorIndex = AbstractField.extend({ registry.add('color', FieldColor); registry.add('color_index', FieldColorIndex); -return FieldColor; +return { + FieldColor: FieldColor, + FieldColorIndex: FieldColorIndex, +}; }); \ No newline at end of file diff --git a/muk_web_utils/static/src/js/fields/path.js b/muk_web_utils/static/src/js/fields/path.js index fd34ab0..e3c49b9 100644 --- a/muk_web_utils/static/src/js/fields/path.js +++ b/muk_web_utils/static/src/js/fields/path.js @@ -108,6 +108,9 @@ var FieldPathJson = fields.FieldText.extend({ registry.add('path_names', FieldPathNames); registry.add('path_json', FieldPathJson); -return FieldColor; +return { + FieldPathNames: FieldPathNames, + FieldPathJson: FieldPathJson, +}; }); \ No newline at end of file