mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-28 07:51:07 +00:00
Emit JS with some more newlines
Hopefully helps a bit with readability!
This commit is contained in:
parent
9183236522
commit
c148a3b6dc
@ -52,7 +52,7 @@ impl<'a> Context<'a> {
|
|||||||
if !self.wasm_import_needed(name) {
|
if !self.wasm_import_needed(name) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
let global = format!("export const {} = {};", name, f(self));
|
let global = format!("export const {} = {};\n", name, f(self));
|
||||||
self.globals.push_str(&global);
|
self.globals.push_str(&global);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user