Thu, 27 May 2010 03:59:44 +0100
squish: Insert a space before ending our wrapper function, in case the module doesn't end with whitespace already
squish.lua | file | annotate | diff | comparison | revisions |
--- a/squish.lua Thu May 27 03:58:27 2010 +0100 +++ b/squish.lua Thu May 27 03:59:44 2010 +0100 @@ -225,7 +225,7 @@ if data then f:write("package.preload['", modulename, "'] = (function (...)\n"); f:write(data); - f:write("end)\n"); + f:write(" end)\n"); if opts.debug then f:write(string.format("package.preload[%q] = ___adjust_chunk(package.preload[%q], %q);\n\n", modulename, modulename, "@"..path));