Skip to content
Permalink
Browse files

Ensure that an endline is in place at the end of the minified jQuery …

…file.
  • Loading branch information...
jeresig committed May 2, 2011
1 parent f4b5d3f commit f8a112f08e9349432cfa6bfc2da5d4275aceb11a
Showing with 1 addition and 1 deletion.
  1. +1 −1 build/post-compile.js
@@ -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;"));
print(src.replace(/^(\s*\*\/)(.+)/m, "$1\n$2;").replace(/([^;]*)$/, "$1;"));

0 comments on commit f8a112f

Please sign in to comment.
You can’t perform that action at this time.