|
@@ -49,7 +49,7 @@ this.singlefile.lib.processors.lazy.content.loader = this.singlefile.lib.process
|
|
|
|
|
|
|
|
function process(options) {
|
|
function process(options) {
|
|
|
const frames = singlefile.lib.processors.hooks.content.frames;
|
|
const frames = singlefile.lib.processors.hooks.content.frames;
|
|
|
- return new Promise(async resolve => {
|
|
|
|
|
|
|
+ return new Promise(async resolve => { // eslint-disable-line no-async-promise-executor
|
|
|
let timeoutId, idleTimeoutId, maxTimeoutId, loadingImages;
|
|
let timeoutId, idleTimeoutId, maxTimeoutId, loadingImages;
|
|
|
const pendingImages = new Set();
|
|
const pendingImages = new Set();
|
|
|
const observer = new MutationObserver(async mutations => {
|
|
const observer = new MutationObserver(async mutations => {
|