Przeglądaj źródła

removed async keyword

Gildas 7 lat temu
rodzic
commit
fc0a5a199a
1 zmienionych plików z 1 dodań i 1 usunięć
  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(() => {