documentcloud/jammit — pull request #217 by lynaghk (2012-01-18 02:25:48+00:00)
Title: Concatenate JavaScripts with semicolon.

Without a semicolon, JavaScript evaluates

a = b + c
(d + e).print()

as

a = b + c(d + e).print();

rather than

a = b + c;
(d + e).print();

This commit prevents that from happening by defensively adding a semicolon when joining JavaScripts.