samarudge/Squeezeit — pull request #5 by pluma (2013-01-07 12:26:48+00:00)
Title: Added semicolons in JS concatenation

I kept on running into issues with JS files that do not end with a trailing semicolon followed by files that begin with an open parenthesis.

To resolve this within Squeezeit I've removed the concatenation from the generic load function and added it to the JS/CSS specific code. This means the load function now returns a list containing the loaded file contents rather than a single concatenated string.

There is probably a better way to do this, but this at least prevents concatenation-induced syntax errors.