Gildas 7 anni fa
parent
commit
ba12cc519d
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      lib/single-file/single-file-core.js

+ 2 - 2
lib/single-file/single-file-core.js

@@ -114,7 +114,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 		parallel: [
 			{ action: "processStylesheets" },
 			{ action: "processStyleAttributes" },
-			{ action: "pageResources" },
+			{ action: "processPageResources" },
 			{ option: "!removeScripts", action: "processScripts" }
 		]
 	}, {
@@ -657,7 +657,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 			}
 		}
 
-		async pageResources() {
+		async processPageResources() {
 			const resourcePromises = [
 				DomProcessorHelper.processAttribute(this.doc, this.doc.querySelectorAll("link[href][rel*=\"icon\"]"), "href", PREFIX_DATA_URI_IMAGE, this.baseURI, this.options, this.batchRequest, false, true),
 				DomProcessorHelper.processAttribute(this.doc, this.doc.querySelectorAll("object[type=\"image/svg+xml\"], object[type=\"image/svg-xml\"]"), "data", PREFIX_DATA_URI_IMAGE_SVG, this.baseURI, this.options, this.batchRequest),