Procházet zdrojové kódy

fixed dependency injection

Former-commit-id: 14e3f0f4fef27095a647dc980fde52c3360c4e42
Gildas před 6 roky
rodič
revize
78fb086616
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      extension/index.js

+ 1 - 1
extension/index.js

@@ -46,5 +46,5 @@ this.singlefile.extension = this.singlefile.extension || {
 			bg: {}
 		},
 	},
-	getPageData: (options, doc, win) => 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.singlefile.extension.lib.fetch.content.resources.fetch }, doc, win)
 };