fix opacify.pl not to change 1.0 -> 1["0"]
This commit is contained in:
parent
42555270e5
commit
e1e0b7a9bf
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ $script =~ s=/\*([^\*]|\*+[^\/])*\*/==g;
|
||||||
$script =~ s=//.*==g;
|
$script =~ s=//.*==g;
|
||||||
|
|
||||||
# stringify property names
|
# 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
|
# stringify sjcl
|
||||||
$script =~ s=(?:var\s+)?sjcl(\.|\s*\=)=window['sjcl']$1=g;
|
$script =~ s=(?:var\s+)?sjcl(\.|\s*\=)=window['sjcl']$1=g;
|
||||||
|
|
Loading…
Reference in a new issue