src/*: Fix codespell issues

See,
$ codespell -S './src/img/*.png,./.git*' -L que

Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
This commit is contained in:
Mario Trangoni
2019-04-10 19:35:34 +02:00
parent 86f2b879a2
commit 2f9be7a184
4 changed files with 8 additions and 8 deletions

View File

@@ -333,7 +333,7 @@ function expMovingAverage(datapoints, n) {
return ema;
}
function PERCENTIL(n, values) {
function PERCENTILE(n, values) {
var sorted = _.sortBy(values);
return sorted[Math.floor(sorted.length * n / 100)];
}
@@ -509,7 +509,7 @@ const exportedFunctions = {
MIN,
MAX,
MEDIAN,
PERCENTIL,
PERCENTILE,
sortByTime,
flattenDatapoints,
};