updated node modules
This commit is contained in:
1 parent
d7955e5d0f
commit
d2455ba530
560 files changed
+94511
-37454
No files matched your search
+1
-1
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user