address MR comments

This commit is contained in:
Ginger Wong
2020-08-26 00:51:40 -07:00
parent 6457015406
commit b399fbba22
7 changed files with 122 additions and 126 deletions

View File

@@ -20,15 +20,9 @@
<div id="video-only"></div>
<script type="module">
import { h, render } from 'https://unpkg.com/preact?module';
import htm from 'https://unpkg.com/htm?module';
const html = htm.bind(h);
import { render, html } from 'https://unpkg.com/htm/preact/standalone.module.js';
import VideoOnly from './js/app-video-only.js';
(function () {
render(html`<${VideoOnly} />`, document.getElementById("video-only"));
})();
render(html`<${VideoOnly} />`, document.getElementById("video-only"));
</script>
</body>
</html>