瀏覽代碼

removed async keyword

Gildas 7 年之前
父節點
當前提交
fc0a5a199a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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(() => {