From e1e0b7a9bfd65715a5e361deceb4eea7b0371004 Mon Sep 17 00:00:00 2001 From: Mike Hamburg Date: Sun, 22 Apr 2012 13:24:59 -0700 Subject: [PATCH] fix opacify.pl not to change 1.0 -> 1["0"] --- compress/opacify.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compress/opacify.pl b/compress/opacify.pl index d17c914..8c9a9a2 100755 --- a/compress/opacify.pl +++ b/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;