diff options
-rw-r--r-- | src/jsifier.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 2c0a1a88..522ef029 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -714,6 +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 return func; } }); |