Sfoglia il codice sorgente

remove unused variable

Gildas 7 anni fa
parent
commit
e51f87393b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      lib/single-file/doc-helper.js

+ 1 - 1
lib/single-file/doc-helper.js

@@ -83,7 +83,7 @@ this.docHelper = this.docHelper || (() => {
 							element.setAttribute(markerRemovedContent, "");
 						}
 					});
-					styles = new Map(Array.from(styles).filter(([element, style]) => element.getAttribute(markerRemovedContent) != ""));
+					styles = new Map(Array.from(styles).filter(([element]) => element.getAttribute(markerRemovedContent) != ""));
 				}
 				if (options.removeAlternativeFonts) {
 					usedFonts = getUsedFonts(styles);