fix tether-drop dependency after moving Grafana to webpack

This commit is contained in:
Alexander Zobnin
2017-10-11 20:04:49 +03:00
parent 2bf984c16b
commit 630dd17659
9 changed files with 70 additions and 14 deletions

View File

@@ -1,6 +1,16 @@
import angular from 'angular';
import $ from 'jquery';
import Drop from 'tether-drop';
System.config({
paths: {
tether: System.getConfig().baseURL + "plugins/alexanderzobnin-zabbix-app/vendor/npm/tether.min.js"
}
});
let Drop;
System.amdRequire(["plugins/alexanderzobnin-zabbix-app/vendor/npm/drop.min.js"], (drop) => {
Drop = drop;
});
/** @ngInject */
angular