Less aggressive semicolon insertion for the minified file.
This commit is contained in:
parent
f8a112f08e
commit
89fd9dffad
|
@ -4,4 +4,4 @@ var print = require("sys").print,
|
|||
src = require("fs").readFileSync(process.argv[2], "utf8");
|
||||
|
||||
// Previously done in sed but reimplemented here due to portability issues
|
||||
print(src.replace(/^(\s*\*\/)(.+)/m, "$1\n$2;").replace(/([^;]*)$/, "$1;"));
|
||||
print( src.replace( /^(\s*\*\/)(.+)/m, "$1\n$2" ) + ";" );
|
||||
|
|
Loading…
Reference in a new issue