diff --git a/src/crypt/decrypter.js b/src/crypt/decrypter.js index b51f24ebf23..3586ef80807 100644 --- a/src/crypt/decrypter.js +++ b/src/crypt/decrypter.js @@ -10,7 +10,6 @@ import Event from '../events'; import { getSelfScope } from '../utils/get-self-scope'; // see https://stackoverflow.com/a/11237259/589493 -/* eslint-disable-next-line no-undef */ const global = getSelfScope(); // safeguard for code that might run both on worker and main thread class Decrypter { diff --git a/src/demux/demuxer.js b/src/demux/demuxer.js index 1954c355bc1..d9b19dca2ac 100644 --- a/src/demux/demuxer.js +++ b/src/demux/demuxer.js @@ -9,7 +9,6 @@ import { getMediaSource } from '../utils/mediasource-helper'; import { getSelfScope } from '../utils/get-self-scope'; // see https://stackoverflow.com/a/11237259/589493 -/* eslint-disable-next-line no-undef */ const global = getSelfScope(); // safeguard for code that might run both on worker and main thread const MediaSource = getMediaSource();