2016-05-25 11:56:17 +02:00
<!DOCTYPE html>
< html >
< head >
< meta content = "text/html; charset=utf-8" http-equiv = "content-type" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" / >
2017-03-01 17:23:34 +01:00
< script data-bootload = "main.js" data-main = "/common/boot.js" src = "/bower_components/requirejs/require.js" > < / script >
2016-05-25 11:56:17 +02:00
< style >
html , body {
padding : 0 px ;
margin : 0 px ;
overflow : hidden ;
box-sizing : border-box ;
}
form {
border : 3 px solid black ;
border-radius : 5 px ;
padding : 15 px ;
font-weight : bold !important ;
font-size : 18 px !important ;
}
input [ type = "text" ]
{
margin-top : 5 px ;
margin-bottom : 5 px ;
width : 80 % ;
height : 3 em ;
font-weight : bold ;
font-size : 18 px ;
}
textarea {
width : 80 % ;
height : 40 vh ;
}
div # content {
width : 80 % ;
margin : auto ;
}
< / style >
< / head >
< body >
< div id = "content" >
< p > The field below behaves like a < a target = "_blank" href = "https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop" > REPL< / a > , with the realtime object created by this page exposed as the value < code > x< / code > < / p >
< p > Open your browser's console to see the output.< / p >
< input type = "text" name = "repl" placeholder = "Value" autofocus > < br >
< / div >
< / body >
< / html >