Stop eslint error by ignoring audiocontext
This commit is contained in:
parent
ac97890dbc
commit
1a1ee3467d
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ class HtmlAudioPlayer {
|
|||
}
|
||||
|
||||
function addGainElement(elem) {
|
||||
const audioCtx = new AudioContext();
|
||||
const audioCtx = new AudioContext(); /* eslint-disable-line compat/compat */
|
||||
|
||||
const source = audioCtx.createMediaElementSource(elem);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue