fix lint
This commit is contained in:
parent
d86724f17a
commit
16499358b3
1 changed files with 4 additions and 4 deletions
|
@ -31,13 +31,13 @@ const runStylesheet = function (url, code) {
|
||||||
document.head.append(styleElement);
|
document.head.append(styleElement);
|
||||||
}
|
}
|
||||||
document.addEventListener('DOMContentLoaded', init);
|
document.addEventListener('DOMContentLoaded', init);
|
||||||
})`;
|
})`
|
||||||
const compiledWrapper = runInThisContext(wrapper, {
|
const compiledWrapper = runInThisContext(wrapper, {
|
||||||
filename: url,
|
filename: url,
|
||||||
lineOffset: 1,
|
lineOffset: 1,
|
||||||
displayErrors: true,
|
displayErrors: true
|
||||||
});
|
})
|
||||||
return compiledWrapper.call(this, code);
|
return compiledWrapper.call(this, code)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run injected scripts.
|
// Run injected scripts.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue