summaryrefslogtreecommitdiff
path: root/js/lib/node.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/node.js')
-rw-r--r--js/lib/node.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/js/lib/node.js b/js/lib/node.js
index 12bb89e..65f3814 100644
--- a/js/lib/node.js
+++ b/js/lib/node.js
@@ -89,13 +89,9 @@ Node.prototype.isContainer = function() {
return isContainer(this);
};
-Node.prototype.getType = function() {
+Node.prototype.type = function() {
return this.t;
-}
-
-Node.prototype.setType = function(newtype) {
- this.t = newtype;
-}
+};
Node.prototype.appendChild = function(child) {
child.unlink();