Pārlūkot izejas kodu

fixed dependency injection

Former-commit-id: 14e3f0f4fef27095a647dc980fde52c3360c4e42
Gildas 6 gadi atpakaļ
vecāks
revīzija
78fb086616
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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)
 };