fix: fixed color pickers that were broken in minified builds, fixes #9549

This commit is contained in:
Torkel Ödegaard
2017-10-17 10:51:42 +02:00
parent b86ae3f0e8
commit 574afe8568
10 changed files with 40 additions and 52 deletions

View File

@@ -0,0 +1,10 @@
import coreModule from 'app/core/core_module';
export function react2AngularDirective(name: string, component: any, options: any) {
coreModule.directive(name, ['reactDirective', reactDirective => {
return reactDirective(component, options);
}]);
}