small fixes

This commit is contained in:
Kevin Jahns
2014-10-06 10:16:06 +02:00
parent 3415d0ee5e
commit 530210ca63
4 changed files with 18 additions and 3 deletions

View File

@@ -307,7 +307,6 @@
this.xml.appendChild(n.val(enforce));
} else if (n.type === "TextNodeType") {
text_node = n.val();
text_node._yatta = this;
this.xml.appendChild(text_node);
} else {
throw new Error("Internal structure cannot be transformed to dom");
@@ -368,7 +367,7 @@
HB.addOperation(d).execute();
content._yatta = null;
}
this._yatta = this;
content._yatta = this;
TextNodeType.__super__.constructor.call(this, uid, content);
}

File diff suppressed because one or more lines are too long