fix tether-drop dependency after moving Grafana to webpack
This commit is contained in:
16
dist/panel-triggers/ack-tooltip.directive.js
vendored
16
dist/panel-triggers/ack-tooltip.directive.js
vendored
@@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
System.register(['angular', 'jquery', 'tether-drop'], function (_export, _context) {
|
||||
System.register(['angular', 'jquery'], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var angular, $, Drop;
|
||||
@@ -9,11 +9,21 @@ System.register(['angular', 'jquery', 'tether-drop'], function (_export, _contex
|
||||
angular = _angular.default;
|
||||
}, function (_jquery) {
|
||||
$ = _jquery.default;
|
||||
}, function (_tetherDrop) {
|
||||
Drop = _tetherDrop.default;
|
||||
}],
|
||||
execute: function () {
|
||||
|
||||
System.config({
|
||||
paths: {
|
||||
tether: System.getConfig().baseURL + "plugins/alexanderzobnin-zabbix-app/vendor/npm/tether.min.js"
|
||||
}
|
||||
});
|
||||
|
||||
Drop = void 0;
|
||||
|
||||
System.amdRequire(["plugins/alexanderzobnin-zabbix-app/vendor/npm/drop.min.js"], function (drop) {
|
||||
Drop = drop;
|
||||
});
|
||||
|
||||
/** @ngInject */
|
||||
angular.module('grafana.directives').directive('ackTooltip', function ($sanitize, $compile) {
|
||||
var buttonTemplate = '<a bs-tooltip="\'Acknowledges ({{trigger.acknowledges.length}})\'"' + '<i ng-class="' + "{'fa fa-comments': trigger.acknowledges.length, " + "'fa fa-comments-o': !trigger.acknowledges.length, " + '}"></i></a>';
|
||||
|
||||
Reference in New Issue
Block a user