mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-18 20:40:28 +00:00
Correct stripNewline function
This commit is contained in:
2
vendor/wasm/js/runtime.js
vendored
2
vendor/wasm/js/runtime.js
vendored
@@ -10,7 +10,7 @@ function getElement(name) {
|
||||
}
|
||||
|
||||
function stripNewline(str) {
|
||||
return str.replace(/\n$/, ' ')
|
||||
return str.replace(/\n/, ' ')
|
||||
}
|
||||
|
||||
class WasmMemoryInterface {
|
||||
|
||||
Reference in New Issue
Block a user