Explorar el Código

removed unnecessary function

Gildas hace 6 años
padre
commit
0e4a96de27
Se han modificado 1 ficheros con 2 adiciones y 6 borrados
  1. 2 6
      extension/index.js

+ 2 - 6
extension/index.js

@@ -43,9 +43,5 @@ this.singlefile.extension = this.singlefile.extension || {
 			bg: {}
 		},
 	},
-	getPageData: (options, doc, win) => getPageData(options, doc, win)
-};
-
-async function getPageData(options, doc, win) {
-	return this.singlefile.lib.getPageData(options, { fetch: this.lib.fetch.content.resources.fetch }, doc, win);
-}
+	getPageData: (options, doc, win) => this.singlefile.lib.getPageData(options, { fetch: this.lib.fetch.content.resources.fetch }, doc, win)
+};