Erik Sundell 7 лет назад
Родитель
Сommit
93d2588c22
1 измененных файлов с 0 добавлено и 20 удалено
  1. 0 20
      public/app/plugins/datasource/stackdriver/angular_wrappers.ts

+ 0 - 20
public/app/plugins/datasource/stackdriver/angular_wrappers.ts

@@ -1,20 +0,0 @@
-import { react2AngularDirective } from 'app/core/utils/react2angular';
-import { QueryEditor } from './components/QueryEditor';
-import { AnnotationQueryEditor } from './components/AnnotationQueryEditor';
-
-//This should be removed when the plugin is fully reactified
-export function registerAngularDirectives() {
-  react2AngularDirective('queryEditor', QueryEditor, [
-    'target',
-    'onQueryChange',
-    'onExecuteQuery',
-    ['events', { watchDepth: 'reference' }],
-    ['datasource', { watchDepth: 'reference' }],
-  ]);
-  react2AngularDirective('annotationQueryEditor', AnnotationQueryEditor, [
-    'target',
-    'onQueryChange',
-    'onExecuteQuery',
-    ['datasource', { watchDepth: 'reference' }],
-  ]);
-}