Wrap in IIFE and namespace any shared info

This commit is contained in:
Johan Hillerström 2015-11-12 00:03:26 +01:00
commit ea36dceb55
3 changed files with 120 additions and 99 deletions

View file

@ -49,8 +49,8 @@
</style>
</head>
<body>
<div id="playercontainer" class="playercontainer" ondrop="handleDrop(event)"
ondragover="allowDrop(event)" ondragleave="allowDrop(event)">
<div id="playercontainer" class="playercontainer" ondrop="XMPlayer.handleDrop(event)"
ondragover="XMPlayer.allowDrop(event)" ondragleave="XMPlayer.allowDrop(event)">
<div><canvas class="centered" id='title' width="640" height="22"></canvas></div>
<div class="hscroll">
<div><canvas class="centered" id='vu' width="224" height="64"></canvas></div>