updated node modules

This commit is contained in:
Marc Wäckerlin
2016-09-12 14:54:14 +00:00
parent d7955e5d0f
commit d2455ba530
560 changed files with 94515 additions and 37458 deletions

View File

@@ -174,7 +174,7 @@ Node.prototype = {
operate: function(op, right){
switch (op) {
case 'is a':
if ('string' == right.nodeName) {
if ('string' == right.first.nodeName) {
return nodes.Boolean(this.nodeName == right.val);
} else {
throw new Error('"is a" expects a string, got ' + right.toString());