ESLint Disable no-constant-condition in Canvas

pull/36/head
Christian Paul 2017-12-23 00:15:40 -08:00
rodzic f6485d9830
commit 1f7245644e
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -110,6 +110,7 @@ class Canvas {
width = (width + 1) / 2;
/* eslint-disable no-constant-condition */
while (true) {
this.buffer.setPixel(x0, y0, color);
let e2 = err;
@ -141,6 +142,7 @@ class Canvas {
y0 += sy;
}
}
/* eslint-enable */
}
_filledRectangle(x, y, width, height, color) {