consul/ui/packages/consul-ui/app/initializers/ivy-codemirror.js

12 lines
317 B
JavaScript
Raw Normal View History

export function initialize(application) {
const IvyCodeMirrorComponent = application.resolveRegistration('component:ivy-codemirror');
// Make sure ivy-codemirror respects/maintains a `name=""` attribute
IvyCodeMirrorComponent.reopen({
attributeBindings: ['name'],
});
}
export default {
initialize,
};