mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 04:21:21 +00:00
Fix the no_modules
example by fixing --browser
Recent refactorings forgot a case of emitting code for `cachedTextDecoder`!
This commit is contained in:
@ -1088,6 +1088,8 @@ impl<'a> Context<'a> {
|
||||
", s)
|
||||
);
|
||||
self.global(&format!("let cached{0} = new l{0}('utf-8');", s));
|
||||
} else {
|
||||
self.global(&format!("let cached{0} = new {0}('utf-8');", s));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user