Fix concatenation of JS modules.

Without a semicolon separator, it's possible that concatenated modules
can be interpreted as valid JS expressions.
This commit is contained in:
Max Goodman
2011-11-15 23:59:59 +00:00
committed by Neil Williams
parent df270a022a
commit 4a02f99c61

View File

@@ -73,7 +73,7 @@ class Module(Source):
self.sources.append(source)
def get_source(self):
return "\n".join(s.get_source() for s in self.sources)
return ";".join(s.get_source() for s in self.sources)
@property
def path(self):