public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6e6458
)
Added scenario in test case where properties shouldn't be accessed with
author
Justin Lau
<justin@tclau.com>
Sun, 5 May 2013 14:08:13 +0000
(22:08 +0800)
committer
Justin Lau
<justin@tclau.com>
Sun, 5 May 2013 14:08:13 +0000
(22:08 +0800)
dotted syntax even with screw_ie8 option.
Signed-off-by: Justin Lau <justin@tclau.com>
test/compress/properties.js
patch
|
blob
|
history
diff --git
a/test/compress/properties.js
b/test/compress/properties.js
index
9b066ec
..
118bc4c
100644
(file)
--- a/
test/compress/properties.js
+++ b/
test/compress/properties.js
@@
-17,10
+17,12
@@
dot_properties: {
input: {
a["foo"] = "bar";
a["if"] = "if";
+ a["*"] = "asterisk";
}
expect: {
a.foo = "bar";
a["if"] = "if";
+ a["*"] = "asterisk";
}
}
@@
-32,9
+34,11
@@
dot_properties_es5: {
input: {
a["foo"] = "bar";
a["if"] = "if";
+ a["*"] = "asterisk";
}
expect: {
a.foo = "bar";
a.if = "if";
+ a["*"] = "asterisk";
}
}