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