mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 01:31:17 +00:00
Resolved a buncher of simple(r) eslint errors
This commit is contained in:
committed by
Daniel Holbach
parent
97a2e00fe3
commit
f27d1337c8
@@ -7,7 +7,8 @@ export function uniformSelect(array, size) {
|
||||
return array;
|
||||
}
|
||||
|
||||
return range(size).map(index => array[parseInt(index * (array.length / (size - (1 - 1e-9))), 10)]);
|
||||
return range(size)
|
||||
.map(index => array[parseInt(index * (array.length / (size - (1 - 1e-9))), 10)]);
|
||||
}
|
||||
|
||||
export function insertElement(array, index, element) {
|
||||
|
||||
Reference in New Issue
Block a user