mirror of
https://github.com/timberjoegithub/grafana-statusmap.git
synced 2026-07-21 23:42:03 +00:00
- fix linter warnings - use yarn: remove Gruntfile.js and package-lock.json ++
6 lines
189 B
JavaScript
6 lines
189 B
JavaScript
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;
|
|
}
|