allowing quoted strings within object assignment, a in JS and JSON

This commit is contained in:
Jeremy Ashkenas
2009-12-24 17:14:53 -08:00
parent 9dc932e380
commit 66303636dc
4 changed files with 729 additions and 719 deletions

View File

@@ -6,7 +6,7 @@ func: =>
a--.
c: {
text: b
"text": b
}
c: 'error' unless 42 > 41

View File

@@ -7,7 +7,7 @@
a--;
}
var c = {
text: b
"text": b
};
if (!(42 > 41)) {
c = 'error';