Pārlūkot izejas kodu

removed async keyword

Gildas 7 gadi atpakaļ
vecāks
revīzija
fc0a5a199a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      lib/lazy/content-lazy-loader.js

+ 1 - 1
lib/lazy/content-lazy-loader.js

@@ -28,7 +28,7 @@ this.lazyLoader = this.lazyLoader || (() => {
 
 	return { process };
 
-	async function process() {
+	function process() {
 		return new Promise(resolve => {
 			let timeoutId, maxTimeoutId, idleTimeoutId, srcAttributeChanged;
 			const observer = new MutationObserver(() => {