Pārlūkot izejas kodu

disabled warning

Former-commit-id: 3f868cbb9700e29766d321c6294309e0a21ccede
Gildas 5 gadi atpakaļ
vecāks
revīzija
736de985ff

+ 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 => {