Initial ES6 migration. module.js and datasource.js are migrated to ES6.
This commit is contained in:
19
src/datasource-zabbix/module.js
Normal file
19
src/datasource-zabbix/module.js
Normal file
@@ -0,0 +1,19 @@
|
||||
import {ZabbixAPIDatasource} from './datasource';
|
||||
import {ZabbixQueryCtrl} from './queryCtrl';
|
||||
|
||||
class ZabbixConfigCtrl {}
|
||||
ZabbixConfigCtrl.templateUrl = 'partials/config.html';
|
||||
|
||||
class ZabbixQueryOptionsCtrl {}
|
||||
ZabbixQueryOptionsCtrl.templateUrl = 'partials/query.options.html';
|
||||
|
||||
class ZabbixAnnotationsQueryCtrl {}
|
||||
ZabbixAnnotationsQueryCtrl.templateUrl = 'partials/annotations.editor.html';
|
||||
|
||||
export {
|
||||
ZabbixAPIDatasource as Datasource,
|
||||
ZabbixQueryCtrl as QueryCtrl,
|
||||
ZabbixConfigCtrl as ConfigCtrl,
|
||||
ZabbixQueryOptionsCtrl as QueryOptionsCtrl,
|
||||
ZabbixAnnotationsQueryCtrl as AnnotationsQueryCtrl
|
||||
};
|
||||
Reference in New Issue
Block a user