mirror of
https://github.com/konvajs/konva.git
synced 2025-11-24 08:46:44 +08:00
migrate find fn to single method
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
// ======================================================
|
||||
|
||||
Reference in New Issue
Block a user