mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-01 23:03:55 -08:00
Refactored stringily not to add the double quotes
This commit is contained in:
parent
b32826f110
commit
b92e011c66
2 changed files with 6 additions and 5 deletions
|
|
@ -52,10 +52,10 @@ JavaScriptParseTree.prototype.renderNode = function(output,node) {
|
|||
var p;
|
||||
switch(node.type) {
|
||||
case "StringLiteral":
|
||||
output.push(utils.stringify(node.value));
|
||||
output.push('"' + utils.stringify(node.value) + '"');
|
||||
break;
|
||||
case "StringLiterals":
|
||||
output.push(utils.stringify(node.value.join("")));
|
||||
output.push('"' + utils.stringify(node.value.join("")) + '"');
|
||||
break;
|
||||
case "FunctionCall":
|
||||
output.push("(");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue