Forráskód Böngészése

removed obsolete code

Gildas 6 éve
szülő
commit
8968bd78bb
1 módosított fájl, 0 hozzáadás és 3 törlés
  1. 0 3
      lib/single-file/single-file-core.js

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

@@ -349,9 +349,6 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 			if (!this.options.saveRawPage && !this.options.removeFrames && this.options.framesData) {
 				this.options.framesData.forEach(frameData => this.maxResources += frameData.maxResources || 0);
 			}
-			if (this.options.shadowRootsData) {
-				this.options.shadowRootsData.forEach(shadowRootData => this.maxResources += shadowRootData.maxResources || 0);
-			}
 			this.stats.set("processed", "resources", this.maxResources);
 		}