Преглед изворни кода

let Runner#initialize empty doc and win properties

Former-commit-id: b57cf9b530d429574a4b2f83e9866bb2c402931f
Gildas пре 6 година
родитељ
комит
27bc7c38c8
1 измењених фајлова са 0 додато и 4 уклоњено
  1. 0 4
      lib/single-file/single-file-core.js

+ 0 - 4
lib/single-file/single-file-core.js

@@ -971,8 +971,6 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
 				options.insertSingleFileComment = false;
 				options.insertCanonicalLink = false;
 				options.saveFavicon = false;
-				options.doc = null;
-				options.win = null;
 				options.url = frameData.baseURI;
 				options.windowId = frameWindowId;
 				if (frameData.content) {
@@ -1063,8 +1061,6 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
 				options.removeAlternativeMedias = false;
 				options.removeUnusedFonts = false;
 				options.removeHiddenElements = false;
-				options.doc = null;
-				options.win = null;
 				options.url = resourceURL;
 				const attributeValue = linkElement.getAttribute(util.HTML_IMPORT_ATTRIBUTE_NAME);
 				if (attributeValue) {