mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-14 09:52:23 -07:00
Define stripNewline function
This commit is contained in:
Vendored
+4
@@ -9,6 +9,10 @@ function getElement(name) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
function stripNewline(str) {
|
||||
return str.replace(/\n$/, ' ')
|
||||
}
|
||||
|
||||
class WasmMemoryInterface {
|
||||
constructor() {
|
||||
this.memory = null;
|
||||
|
||||
Reference in New Issue
Block a user