зеркало из https://github.com/mozilla/pluotsorbet.git
107 строки
3.9 KiB
HTML
107 строки
3.9 KiB
HTML
<!doctype html>
|
|
<html>
|
|
|
|
<head>
|
|
<style type="text/css">
|
|
#canvas {
|
|
position: absolute;
|
|
top: 0px;
|
|
right: 0px;
|
|
border: 1px solid #ababab;
|
|
}
|
|
|
|
button {
|
|
display: none;
|
|
}
|
|
|
|
#clearstorage,#trace,#printAllExceptions {
|
|
display: inline;
|
|
}
|
|
|
|
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
|
|
#canvas {
|
|
bottom: 0px;
|
|
left: 0px;
|
|
border: none;
|
|
}
|
|
|
|
button {
|
|
display: block;
|
|
position: absolute;
|
|
height: 40px;
|
|
width: 40px;
|
|
}
|
|
|
|
#up { left: 75px; bottom: 40px; }
|
|
#down { left: 75px; bottom: 0px; }
|
|
#left { left: 25px; bottom: 20px; }
|
|
#right { left: 125px; bottom: 20px; }
|
|
#fire { left: 250px; bottom: 20px; }
|
|
|
|
}
|
|
</style>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="initial-scale=1.0">
|
|
<script type="text/javascript" src="legacy.js" defer></script>
|
|
<script type="text/javascript" src="timer.js" defer></script>
|
|
<script type="text/javascript" src="util.js" defer></script>
|
|
<script type="text/javascript" src="classfile/reader.js" defer></script>
|
|
<script type="text/javascript" src="classfile/accessflags.js" defer></script>
|
|
<script type="text/javascript" src="classfile/attributetypes.js" defer></script>
|
|
<script type="text/javascript" src="classfile/classfile.js" defer></script>
|
|
<script type="text/javascript" src="classfile/tags.js" defer></script>
|
|
<script type="text/javascript" src="classinfo.js" defer></script>
|
|
<script type="text/javascript" src="arrays.js" defer></script>
|
|
<script type="text/javascript" src="signature.js" defer></script>
|
|
<script type="text/javascript" src="opcodes.js" defer></script>
|
|
<script type="text/javascript" src="classes.js" defer></script>
|
|
<script type="text/javascript" src="native.js" defer></script>
|
|
<script type="text/javascript" src="frame.js" defer></script>
|
|
<script type="text/javascript" src="vm.js" defer></script>
|
|
<script type="text/javascript" src="runtime.js" defer></script>
|
|
<script type="text/javascript" src="context.js" defer></script>
|
|
<script type="text/javascript" src="jvm.js" defer></script>
|
|
<script type="text/javascript" src="libs/zipfile.js" defer></script>
|
|
<script type="text/javascript" src="libs/long.js" defer></script>
|
|
<script type="text/javascript" src="libs/async_storage.js" defer></script>
|
|
<script type="text/javascript" src="libs/encoding.js" defer></script>
|
|
<script type="text/javascript" src="libs/fs.js" defer></script>
|
|
<script type="text/javascript" src="libs/mobileinfo.js" defer></script>
|
|
<script type="text/javascript" src="libs/rusha.js" defer></script>
|
|
<script type="text/javascript" src="libs/forge/util.js" defer></script>
|
|
<script type="text/javascript" src="libs/forge/md5.js" defer></script>
|
|
<script type="text/javascript" src="libs/jsbn.js" defer></script>
|
|
<script type="text/javascript" src="libs/jsbn2.js" defer></script>
|
|
<script type="text/javascript" src="midp/midp.js" defer></script>
|
|
<script type="text/javascript" src="midp/fs.js" defer></script>
|
|
<script type="text/javascript" src="midp/crypto.js" defer></script>
|
|
<script type="text/javascript" src="midp/gfx.js" defer></script>
|
|
<script type="text/javascript" src="midp/localmsg.js" defer></script>
|
|
<script type="text/javascript" src="midp/socket.js" defer></script>
|
|
<script type="text/javascript" src="game-ui.js" defer></script>
|
|
<script type="text/javascript" src="desktop-ui.js" defer></script>
|
|
<script type="text/javascript" src="main.js" defer></script>
|
|
</head>
|
|
|
|
<body>
|
|
<div>x,y <span id="xy"></span></div>
|
|
<button id="clearstorage">Clear storage</button>
|
|
<button id="trace">Trace: OFF</button>
|
|
<button id="printAllExceptions">Print all exceptions: OFF</button>
|
|
<canvas id="canvas">
|
|
</canvas>
|
|
<div>
|
|
Output:
|
|
<pre id="output"></pre>
|
|
Log:
|
|
<pre id="log"></pre>
|
|
</div>
|
|
<button id="up">up</button>
|
|
<button id="down">down</button>
|
|
<button id="left">left</button>
|
|
<button id="right">right</button>
|
|
<button id="fire">fire</button>
|
|
</body>
|
|
|
|
</html>
|