Add global state and right click menu using redux

This commit is contained in:
Joey Payne 2016-02-19 12:48:47 -07:00
commit 54d64cc124
10 changed files with 190 additions and 81 deletions

View file

@ -10,7 +10,7 @@
</style>
</head>
<body style="width:100%; height:100%">
<div id="main" style="height:100%">
<div id="main">
</div>
<script>
document.addEventListener("keydown", function (e) {
@ -20,6 +20,15 @@
location.reload();
}
});
function resize()
{
var heights = window.innerHeight;
document.getElementById("main").style.height = heights + "px";
}
resize();
window.onresize = function() {
resize();
};
</script>
<script type="text/javascript" src="dist/bundle.js"></script>
</body>