mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 17:40:29 +00:00
Fixed problem with property names that need quoting
This commit is contained in:
parent
ddfa6732a6
commit
6f027c3b49
@ -103,8 +103,9 @@ JavaScriptParseTree.prototype.renderNode = function(output,node) {
|
|||||||
output.push("}");
|
output.push("}");
|
||||||
break;
|
break;
|
||||||
case "PropertyAssignment":
|
case "PropertyAssignment":
|
||||||
|
output.push("'");
|
||||||
output.push(node.name);
|
output.push(node.name);
|
||||||
output.push(":");
|
output.push("':");
|
||||||
this.renderNode(output,node.value);
|
this.renderNode(output,node.value);
|
||||||
break;
|
break;
|
||||||
case "BinaryExpression":
|
case "BinaryExpression":
|
||||||
|
Loading…
Reference in New Issue
Block a user