mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-01-23 14:29:06 +01:00
Ignore recording variables in our linter
This commit is contained in:
parent
fcd7836a83
commit
6d1cebc24a
@ -41,6 +41,7 @@ function enableUI() {
|
||||
document.getElementById('mode1').checked = true;
|
||||
}
|
||||
|
||||
/* eslint-disable-next-line camelcase */
|
||||
message("Loaded " + VNC_frame_data.length + " frames");
|
||||
|
||||
const startButton = document.getElementById('startButton');
|
||||
@ -49,12 +50,16 @@ function enableUI() {
|
||||
|
||||
message("Converting...");
|
||||
|
||||
/* eslint-disable-next-line camelcase */
|
||||
frames = VNC_frame_data;
|
||||
|
||||
let encoding;
|
||||
// Only present in older recordings
|
||||
|
||||
/* eslint-disable camelcase */
|
||||
if (window.VNC_frame_encoding) {
|
||||
// Only present in older recordings
|
||||
encoding = VNC_frame_encoding;
|
||||
/* eslint-enable camelcase */
|
||||
} else {
|
||||
let frame = frames[0];
|
||||
let start = frame.indexOf('{', 1) + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user