Browse Source

update dist

sanex3339 9 năm trước cách đây
mục cha
commit
bc0c2004ff
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      dist/index.js

+ 1 - 1
dist/index.js

@@ -312,7 +312,7 @@ module.exports =
 	    }, {
 	        key: "validateNode",
 	        value: function validateNode(node) {
-	            return !!node;
+	            return !!node && node.hasOwnProperty('type');
 	        }
 	    }]);