Skip to content

Commit b6cef9b

Browse files
authored
Update ti.html
1 parent 1b8d998 commit b6cef9b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

true/ti.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
<title>true.js</title>
22
<script>
33
function main(){
4-
url = location.origin + location.pathname;
5-
if (url !== location.href) {
6-
u1 = decodeURIComponent(location.href.split("#")[1])
7-
code = u1
8-
}
4+
url=location.origin + location.pathname;
5+
if ( url!=location.href ) { code=decodeURIComponent(location.href.split("#")[1]) }
96
var code=document.getElementById("program").value
107
var input=document.getElementById("input").value.split("\n")
118
p=0; output=''; s=[]; ts=[]; /* m=0;*/

0 commit comments

Comments
 (0)