mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 08:56:07 +00:00
add interval and timeout
This commit is contained in:
@@ -342,7 +342,7 @@ window.ArgonWASMRuntime = async (config = {}) => {
|
||||
// func resetMemoryDataView()
|
||||
"runtime.resetMemoryDataView": (sp) => {
|
||||
sp >>>= 0;
|
||||
this.mem = memory;
|
||||
this.mem = new DataView(this._inst.exports.mem.buffer);
|
||||
},
|
||||
// func nanotime1() int64
|
||||
"runtime.nanotime1": (sp) => {
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
<body>
|
||||
<h1>Argon WASM Runtime Example</h1>
|
||||
<button id="run" class="runButton">run</button>
|
||||
<textarea id="editbox" class="editbox" spellcheck="flase" autocapitalize="false">
|
||||
<textarea id="editbox" class="editbox" spellcheck="false" autocapitalize="false">
|
||||
term.log("hello world")</textarea
|
||||
>
|
||||
<pre
|
||||
|
||||
Reference in New Issue
Block a user