Emit JS with some more newlines

Hopefully helps a bit with readability!
This commit is contained in:
Alex Crichton 2018-02-16 13:36:37 -08:00
parent 9183236522
commit c148a3b6dc

View File

@ -52,7 +52,7 @@ impl<'a> Context<'a> {
if !self.wasm_import_needed(name) {
return
}
let global = format!("export const {} = {};", name, f(self));
let global = format!("export const {} = {};\n", name, f(self));
self.globals.push_str(&global);
};