fix Node::isUserWhitespacable

This commit is contained in:
Sebastian McKenzie
2014-11-23 18:47:38 +11:00
parent 187bbca731
commit 790b81938c

View File

@@ -24,7 +24,7 @@ function Node(node, parent) {
}
Node.prototype.isUserWhitespacable = function () {
return t.isUserWhitespacable(node);
return t.isUserWhitespacable(this.node);
};
Node.prototype.needsWhitespace = function (type) {