mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
remove dead code
This commit is contained in:
parent
164d9d594f
commit
0de5e899ea
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user