working on making the file upload work over websocket and json

This commit is contained in:
2018-01-17 23:27:27 -05:00
parent 8e72ffb917
commit 06e9317c9a
7876 changed files with 385003 additions and 7978 deletions

View File

@@ -0,0 +1,13 @@
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/css/bootstrap.no-responsive.no-icons.min.css" rel="stylesheet">
<div id="keyname">Press any key.</div>
<script src="../build/build.js"></script>
<script>
var keycode = require('keycode')
window.keycode = keycode
console.log("The keyCode for 'Enter' is %d.", keycode('Enter'))
window.addEventListener('keydown', keydown);
function keydown(e) {
document.getElementById('keyname').innerHTML = (e.which ||
e.keyCode) + ': ' + keycode(e.which || e.keyCode);
}
</script>