mirror of
https://github.com/zulip/zulip.git
synced 2025-11-22 07:21:23 +00:00
This was "npm update handlebars" followed by copying runtime.js into the static directory and restoring the copyright header. (imported from commit 69d30cbfcb3b776cdfdcffa17a87704540eab76a)
55 lines
1011 B
JavaScript
55 lines
1011 B
JavaScript
keep_properties: {
|
|
options = {
|
|
properties: false
|
|
};
|
|
input: {
|
|
a["foo"] = "bar";
|
|
}
|
|
expect: {
|
|
a["foo"] = "bar";
|
|
}
|
|
}
|
|
|
|
dot_properties: {
|
|
options = {
|
|
properties: true
|
|
};
|
|
input: {
|
|
a["foo"] = "bar";
|
|
a["if"] = "if";
|
|
a["*"] = "asterisk";
|
|
a["\u0EB3"] = "unicode";
|
|
a[""] = "whitespace";
|
|
a["1_1"] = "foo";
|
|
}
|
|
expect: {
|
|
a.foo = "bar";
|
|
a["if"] = "if";
|
|
a["*"] = "asterisk";
|
|
a.\u0EB3 = "unicode";
|
|
a[""] = "whitespace";
|
|
a["1_1"] = "foo";
|
|
}
|
|
}
|
|
|
|
dot_properties_es5: {
|
|
options = {
|
|
properties: true,
|
|
screw_ie8: true
|
|
};
|
|
input: {
|
|
a["foo"] = "bar";
|
|
a["if"] = "if";
|
|
a["*"] = "asterisk";
|
|
a["\u0EB3"] = "unicode";
|
|
a[""] = "whitespace";
|
|
}
|
|
expect: {
|
|
a.foo = "bar";
|
|
a.if = "if";
|
|
a["*"] = "asterisk";
|
|
a.\u0EB3 = "unicode";
|
|
a[""] = "whitespace";
|
|
}
|
|
}
|