removed the need to call karax.init explicitly
This commit is contained in:
parent
d9bb8d99e8
commit
5bc7d4e336
5 changed files with 9 additions and 20 deletions
|
|
@ -10,9 +10,6 @@
|
|||
<div id="ROOT" />
|
||||
|
||||
<script type="text/javascript" src="nimcache/playerapp.js"></script>
|
||||
<script type="text/javascript">
|
||||
onload()
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -19,6 +19,3 @@ proc createDom(): VNode =
|
|||
mplayer("vid4", url)
|
||||
|
||||
setRenderer createDom
|
||||
|
||||
proc onload() {.exportc.} =
|
||||
init()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue