X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=build%2Fpost-compile.js;fp=build%2Fpost-compile.js;h=4bcafe81456c39a61381420592ad0bb8cefbf68d;hb=2862f589db08b92c7b1f78fa961aff7354027c0b;hp=0000000000000000000000000000000000000000;hpb=3548ffaee244af2bd5e28e91ebfaa995adab93a7;p=jquery.git diff --git a/build/post-compile.js b/build/post-compile.js new file mode 100644 index 0000000..4bcafe8 --- /dev/null +++ b/build/post-compile.js @@ -0,0 +1,7 @@ +#!/usr/bin/env node + +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;"));