mirror of https://github.com/vector-im/riot-web
delint
parent
ec0f940ef0
commit
0e2bcb474d
|
@ -29,7 +29,6 @@ import { createAudioContext } from "./compat";
|
|||
import { IEncryptedFile } from "matrix-js-sdk/src/@types/event";
|
||||
import { uploadFile } from "../ContentMessages";
|
||||
import { FixedRollingArray } from "../utils/FixedRollingArray";
|
||||
import { arraySeed } from "../utils/arrays";
|
||||
import { clamp } from "../utils/numbers";
|
||||
|
||||
const CHANNELS = 1; // stereo isn't important
|
||||
|
|
|
@ -42,8 +42,8 @@ describe('FixedRollingArray', () => {
|
|||
const width = 24;
|
||||
const array = new FixedRollingArray(width, seed);
|
||||
|
||||
let maxValue = width * 2;
|
||||
let minValue = width; // because we're forcing a rollover
|
||||
const maxValue = width * 2;
|
||||
const minValue = width; // because we're forcing a rollover
|
||||
for (let i = 0; i <= maxValue; i++) {
|
||||
array.pushValue(i);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue