mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
fix lint
This commit is contained in:
@@ -31,13 +31,13 @@ const runStylesheet = function (url, code) {
|
||||
document.head.append(styleElement);
|
||||
}
|
||||
document.addEventListener('DOMContentLoaded', init);
|
||||
})`;
|
||||
})`
|
||||
const compiledWrapper = runInThisContext(wrapper, {
|
||||
filename: url,
|
||||
lineOffset: 1,
|
||||
displayErrors: true,
|
||||
});
|
||||
return compiledWrapper.call(this, code);
|
||||
displayErrors: true
|
||||
})
|
||||
return compiledWrapper.call(this, code)
|
||||
}
|
||||
|
||||
// Run injected scripts.
|
||||
|
||||
Reference in New Issue
Block a user