Преглед изворни кода

fix opacify.pl not to change 1.0 -> 1["0"]

Mike Hamburg пре 14 година
родитељ
комит
e1e0b7a9bf
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      compress/opacify.pl

+ 1 - 1
compress/opacify.pl

@@ -17,7 +17,7 @@ $script =~ s=/\*([^\*]|\*+[^\/])*\*/==g;
 $script =~ s=//.*==g;
 
 # stringify property names
-$script =~ s=\.([a-zA-Z0-9][_a-zA-Z0-9]*)=['$1']=g;
+$script =~ s=\.([a-zA-Z][_a-zA-Z0-9]*)=['$1']=g;
 
 # stringify sjcl
 $script =~ s=(?:var\s+)?sjcl(\.|\s*\=)=window['sjcl']$1=g;