Explorar o código

commented constant

Gildas %!s(int64=7) %!d(string=hai) anos
pai
achega
f1a09068e0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/single-file/vendor/css-minifier.js

+ 1 - 1
lib/single-file/vendor/css-minifier.js

@@ -388,7 +388,7 @@ this.cssMinifier = this.cssMinifier || (() => {
 	const REGEXP_REPLACE_ZERO_DOT = /([0-9])\.0(ex|ch|r?em|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|g?rad|turn|m?s|k?Hz|dpi|dpcm|dppx|%| |;)/gi;
 	const REGEXP_REPLACE_4_ZEROS = /:0 0 0 0(;|\})/g;
 	const REGEXP_REPLACE_3_ZEROS = /:0 0 0(;|\})/g;
-	const REGEXP_REPLACE_2_ZEROS = /:0 0(;|\})/g;
+	// const REGEXP_REPLACE_2_ZEROS = /:0 0(;|\})/g;
 	const REGEXP_REPLACE_1_ZERO = /(transform-origin|webkit-transform-origin|moz-transform-origin|o-transform-origin|ms-transform-origin|box-shadow):0(;|\})/gi;
 	const REGEXP_REPLACE_ZERO_DOT_DECIMAL = /(:|\s)0+\.(\d+)/g;
 	const REGEXP_REPLACE_RGB = /rgb\s*\(\s*([0-9,\s]+)\s*\)/gi;