unrecognized selector should return an empty array. also formatted unit tests

This commit is contained in:
ericdrowell
2012-09-25 12:12:27 -07:00
parent 9bfe5f5e52
commit 74bef1e108
4 changed files with 28 additions and 25 deletions

View File

@@ -176,7 +176,7 @@ Kinetic.Container.prototype = {
}
// unrecognized selector
else {
return false;
return [];
}
},
_getDescendants: function(arr) {