do not add extra semicolon in built files
This commit is contained in:
parent
fd5a6ade03
commit
58d166d647
1 changed files with 1 additions and 1 deletions
|
|
@ -502,7 +502,7 @@ function exportAce(ns, modules, requireBase, extModules) {
|
||||||
if (typeof modules == "string")
|
if (typeof modules == "string")
|
||||||
modules = [modules];
|
modules = [modules];
|
||||||
|
|
||||||
return (text + ";" + template
|
return (text.replace(/;\s*$/, "") + ";" + template
|
||||||
.toString()
|
.toString()
|
||||||
.replace(/MODULES/g, JSON.stringify(modules))
|
.replace(/MODULES/g, JSON.stringify(modules))
|
||||||
.replace(/REQUIRE_NS/g, requireBase)
|
.replace(/REQUIRE_NS/g, requireBase)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue