Gildas 7 년 전
부모
커밋
ba12cc519d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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),