mirror of
https://github.com/timberjoegithub/grafana-statusmap.git
synced 2026-07-22 15:53:09 +00:00
feat: migrate to typescript, support 6.3.0+
- use babel to 7, update dependencies, fix #72 - proper babel build to support ngInject, fix #78 - proper buckets display in 6.3.0+, fix #76 - rename js to ts, build d3 lib as js, build src as ts
This commit is contained in:
+4
-1
@@ -7,9 +7,12 @@ System.register([], function (_export, _context) {
|
||||
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 colors;
|
||||
});
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user