瀏覽代碼

formatted code

Gildas 7 年之前
父節點
當前提交
5bd9ddd3b1
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      lib/single-file/css-fonts-minifier.js

+ 0 - 2
lib/single-file/css-fonts-minifier.js

@@ -294,7 +294,6 @@ this.fontsMinifier = this.fontsMinifier || (() => {
 						const fontFamily = removeQuotes(rule.style.getPropertyValue("font-family"));
 						if (fontFamily && !unusedFonts.includes(fontFamily)) {
 							let optionalTest;
-
 							const optionalUsedFonts = filteredUsedFonts && filteredUsedFonts.get(fontFamily);
 							if (optionalUsedFonts && optionalUsedFonts.length) {
 								const fontStyle = rule.style.getPropertyValue("font-style") || "normal";
@@ -306,7 +305,6 @@ this.fontsMinifier = this.fontsMinifier || (() => {
 							} else {
 								optionalTest = true;
 							}
-
 							if (testUnicodeRange(docContent, rule.style.getPropertyValue("unicode-range")) && optionalTest) {
 								stylesheetContent += rule.cssText;
 							}