|
|
@@ -150,6 +150,10 @@ class HTMLDocument {
|
|
|
this.body = new HTMLBodyElement();
|
|
|
}
|
|
|
|
|
|
+ createElement(/* name */) {
|
|
|
+ return new HTMLHtmlElement();
|
|
|
+ }
|
|
|
+
|
|
|
createElementNS(/* namespace, name */) {
|
|
|
return new HTMLHtmlElement();
|
|
|
}
|
|
|
@@ -201,6 +205,10 @@ class HTMLHtmlElement {
|
|
|
|
|
|
removeEventListener(/* event, callback */) {
|
|
|
}
|
|
|
+
|
|
|
+ get classList() {
|
|
|
+ return new DOMTokenList();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
class HTMLBodyElement {
|
|
|
@@ -224,6 +232,12 @@ class CSSStyleDeclaration {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+class DOMTokenList {
|
|
|
+
|
|
|
+ add(/* token1 */) {
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
function makeDir(dir) {
|
|
|
if (!fs.existsSync(dir)){
|
|
|
makeDir(path.dirname(dir));
|
|
|
@@ -529,6 +543,7 @@ function loadModel(target, item) {
|
|
|
chain.name.length;
|
|
|
}
|
|
|
}
|
|
|
+ // new sidebar.NodeSidebar(host, node);
|
|
|
}
|
|
|
}
|
|
|
if (exceptions.length > 0) {
|