Procházet zdrojové kódy

added fallback in the catch block

Former-commit-id: 2b7d5eedaae3e0b170721e000a30cee252d0ffe8
Gildas před 5 roky
rodič
revize
f229690629

+ 1 - 1
lib/single-file/modules/css-fonts-alt-minifier.js

@@ -277,7 +277,7 @@ this.singlefile.lib.modules.fontsAltMinifier = this.singlefile.lib.modules.fonts
 				try {
 					return node.property == propertyName && !cssTree.generate(node.value).match(/\\9$/);
 				} catch (error) {
-					// ignored
+					return node.property == propertyName;
 				}
 			}).tail;
 		}