updated node modules
This commit is contained in:
2
nodejs/node_modules/stylus/lib/nodes/node.js
generated
vendored
2
nodejs/node_modules/stylus/lib/nodes/node.js
generated
vendored
@@ -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