remove dead code

This commit is contained in:
Bruno Windels 2020-04-20 21:25:17 +02:00
parent 164d9d594f
commit 0de5e899ea

View File

@ -1,13 +1,5 @@
import {tag} from "./html.js"; import {tag} from "./html.js";
class UIView {
mount() {}
unmount() {}
update(_value) {}
// can only be called between a call to mount and unmount
root() {}
}
function insertAt(parentNode, idx, childNode) { function insertAt(parentNode, idx, childNode) {
const isLast = idx === parentNode.childElementCount; const isLast = idx === parentNode.childElementCount;
if (isLast) { if (isLast) {