mirror of
https://github.com/konvajs/konva.git
synced 2025-11-18 17:21:36 +08:00
unrecognized selector should return an empty array. also formatted unit tests
This commit is contained in:
@@ -176,7 +176,7 @@ Kinetic.Container.prototype = {
|
||||
}
|
||||
// unrecognized selector
|
||||
else {
|
||||
return false;
|
||||
return [];
|
||||
}
|
||||
},
|
||||
_getDescendants: function(arr) {
|
||||
|
||||
Reference in New Issue
Block a user