migrate find fn to single method

This commit is contained in:
Adam L
2018-03-24 16:29:41 -07:00
parent 8bb59548e5
commit a2c342cf6e
3 changed files with 80 additions and 61 deletions

View File

@@ -433,8 +433,8 @@ suite('Container', function() {
return false;
};
assert.equal(stage.findWhere(fn)[0], rect);
assert.equal(stage.findWhere(noOp).length, 0);
assert.equal(stage.find(fn)[0], rect);
assert.equal(stage.find(noOp).length, 0);
});
// ======================================================