فهرست منبع

disabled warning

Gildas 6 سال پیش
والد
کامیت
3f868cbb97
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      lib/single-file/processors/lazy/content/content-lazy-loader.js

+ 1 - 1
lib/single-file/processors/lazy/content/content-lazy-loader.js

@@ -49,7 +49,7 @@ this.singlefile.lib.processors.lazy.content.loader = this.singlefile.lib.process
 
 	function process(options) {
 		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;
 			const pendingImages = new Set();
 			const observer = new MutationObserver(async mutations => {