feat: use grafana-toolkit to build a plugin

- fix linter warnings
- use yarn: remove Gruntfile.js and package-lock.json

++
This commit is contained in:
Ivan Mikheykin
2021-02-16 17:43:48 +03:00
parent 669033b100
commit e987dee850
159 changed files with 14690 additions and 16778 deletions
+5 -23
View File
@@ -1,23 +1,5 @@
"use strict";
System.register([], function (_export, _context) {
"use strict";
_export("default", function (specifier) {
var n = specifier.length / 6 | 0,
colors = new Array(n),
i = 0;
while (i < n) {
colors[i] = "#" + specifier.slice(i * 6, ++i * 6);
}
return colors;
});
return {
setters: [],
execute: function () {}
};
});
//# sourceMappingURL=colors.js.map
export default function(specifier) {
var n = specifier.length / 6 | 0, colors = new Array(n), i = 0;
while (i < n) colors[i] = "#" + specifier.slice(i * 6, ++i * 6);
return colors;
}