Skip to content

Commit b5590b2

Browse files
authored
Update ti.html
1 parent 9b32d87 commit b5590b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

true/ti.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<title>true.js</title>
22
<script>
3-
url=decodeURIComponent(location.hash.slice(1))
4-
//document.getElementById("program").innerHTML=url
53
function main(){
64
code=document.getElementById("program").value; input=document.getElementById("input").value.split("\n")
75
p=0; output=''; s=[]; ts=[]; /* m=0;*/
@@ -18,6 +16,8 @@
1816
}
1917
document.getElementById("console").innerHTML=output+'\nSTACK: ['+s+']\nTEMPSTACK: ['+ts+']\nBYTES: '+code.length+"\nPERMALINK: "+"https://thevitebsk-github-io.vercel.app/true/ti.html#"+encodeURIComponent(code)
2018
}
19+
url=decodeURIComponent(location.hash.slice(1))
20+
if (url!=""){document.getElementById("program").innerHTML=url}
2121
</script>
2222
<style>
2323
* { background-color:#202027 ; color:white }

0 commit comments

Comments
 (0)