diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-09 14:43:43 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-11-09 14:43:43 -0800 |
commit | 6f08ca52d43e6160d1a21bc8757a87d6ec3f732c (patch) | |
tree | d75cb62d0f7081b68a67b932cfe77d8628dc4ed6 | |
parent | 2d097c48e77f1db3a7f26948568ca4faf978d23a (diff) |
fix bug with line cleanup
-rw-r--r-- | src/jsifier.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 522ef029..150e230a 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -714,7 +714,7 @@ function JSify(data, functionsOnly, givenFunctions) { func.JS += 'if (globalScope) { assert(!globalScope["' + func.ident + '"]); globalScope["' + func.ident + '"] = ' + func.ident + ' }'; } - func.JS = func.JS.replace(/\n *;/g, ''); // remove unneeded lines + func.JS = func.JS.replace(/\n *;/g, '\n'); // remove unneeded lines return func; } }); |