mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
Add Director authoring, import previews and scene bundles
This commit is contained in:
1 parent
62f66c4b86
commit
078fc290ec
25 files changed
+1930
-48
No files matched your search
@@ -24,6 +24,16 @@ function fixture() {
|
||||
}
|
||||
appendChild(element) {
|
||||
this.children.push(element);
|
||||
element.parentNode = this;
|
||||
}
|
||||
append(...nodes) {
|
||||
for (const node of nodes) this.appendChild(node);
|
||||
}
|
||||
remove() {
|
||||
if (this.parentNode)
|
||||
this.parentNode.children = this.parentNode.children.filter(
|
||||
(node) => node !== this,
|
||||
);
|
||||
}
|
||||
setAttribute(name, value) {
|
||||
this[name] = value;
|
||||
|
||||
Reference in new issue
Block a user