mirror of
https://github.com/konvajs/konva.git
synced 2025-09-18 18:27:58 +08:00
cutting down Factory by creating a addComponentsGetterSetter method which all component attrs will use
This commit is contained in:
@@ -37,6 +37,7 @@ suite('Image', function(){
|
||||
|
||||
var crop = null;
|
||||
crop = darth.getCrop();
|
||||
|
||||
assert.equal(crop.x, 135);
|
||||
assert.equal(crop.y, 7);
|
||||
assert.equal(crop.width, 167);
|
||||
|
Reference in New Issue
Block a user