Skip to content

Commit d5410a8

Browse files
authored
Update ti.html
1 parent 4258af6 commit d5410a8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

true/ti.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<title>true.js</title>
22
<script>
3-
pusch=[]; put = window.location.hash
3+
pusch=[]; put=window.location.hash; p=0
44
if (put){
55
while (put.length>p){
66
if (put[p+1]=="c"){
@@ -10,11 +10,11 @@
1010
}
1111
}
1212
}
13-
document.getElementById("program").InnetHTML = pusch
13+
document.getElementById("program").InnetHTML=pusch
1414
function main(){
15-
code = document.getElementById("program").value; input = document.getElementById("input").value.split("\n")
16-
p = 0; output = ''; s = []; ts = []; /*; m = 0*/ cons = output+'\nSTACK: ['+s+']\nTEMPSTACK: ['+ts+']\nBYTES: '+code.length
17-
num = ["0","1","2","3","4","5","6","7","8","9"]; perma = "https://thevitebsk-github-io.vercel.app/true/ti.html#c="+encodeURIComponent(document.getElementById("program").value)
15+
code=document.getElementById("program").value; input=document.getElementById("input").value.split("\n")
16+
p=0; output=''; s=[]; ts=[]; /* m=0;*/ cons=output+'\nSTACK: ['+s+']\nTEMPSTACK: ['+ts+']\nBYTES: '+code.length
17+
num=["0","1","2","3","4","5","6","7","8","9"]; perma="https://thevitebsk-github-io.vercel.app/true/ti.html#c="+encodeURIComponent(document.getElementById("program").value)
1818
while (code.length>p){
1919
//i will focus on the strings later
2020
//if (code[p]=='"'){ m=1 ; p++ };

0 commit comments

Comments
 (0)