run setup on js load
This commit is contained in:
parent
e2831d7c6b
commit
7e95a338de
2 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>Woweb Playground</title>
|
<title>Woweb Playground</title>
|
||||||
</head>
|
</head>
|
||||||
<body onload="setup()">
|
<body>
|
||||||
<textarea id="doctext" name="story" rows="5" cols="33">Things just happen, what the hell.</textarea>
|
<textarea id="doctext" name="story" rows="5" cols="33">Things just happen, what the hell.</textarea>
|
||||||
<script src="/index.js"></script>
|
<script src="/index.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -71,3 +71,5 @@ function onInput(event) {
|
||||||
console.log(selectionEnd);
|
console.log(selectionEnd);
|
||||||
console.log(event.data);
|
console.log(event.data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setup();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue