Correct stripNewline function
This commit is contained in:
1 parent
ea8d3d4531
commit
ab2907cd51
1 file changed
+1
-1
Vendored
+1
-1
@@ -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