author | Alan Dipert
<alan@dipert.org> 2020-06-15 06:04:21 UTC |
committer | Alan Dipert
<alan@dipert.org> 2020-06-15 06:04:21 UTC |
parent | 282e2aac6351d3fdc7eb506147b0f35ce3f99ada |
jacl.js | +3 | -3 |
diff --git a/jacl.js b/jacl.js index 8f878ed..2ca5599 100644 --- a/jacl.js +++ b/jacl.js @@ -2014,11 +2014,11 @@ const emitNode = (print, node) => { } else { print('if('); emitNode(print, node.testNode); - print('!==null)\n\t'); + print('!==null){\n\t'); emitNode(print, node.thenNode); - print('else\n\t'); + print('}else{\n\t'); emitNode(print, node.elseNode); - print('\n'); + print('}\n'); } break; } case 'tagbody': {