fixes #189: use dotted member access when --screw-ie8 option given

This commit is contained in:
Michael Ficarra
2013-04-20 15:11:05 -05:00
parent 4b818056cf
commit 5af144522a
3 changed files with 25 additions and 8 deletions

View File

@@ -23,3 +23,18 @@ dot_properties: {
a["if"] = "if";
}
}
dot_properties_es5: {
options = {
properties: true,
screw_ie8: true
};
input: {
a["foo"] = "bar";
a["if"] = "if";
}
expect: {
a.foo = "bar";
a.if = "if";
}
}