mirror of
https://github.com/konvajs/konva.git
synced 2025-11-18 17:17:49 +08:00
moved data type logic into new utility files Type.js and renamed GlobalObject to Global
This commit is contained in:
@@ -1840,7 +1840,7 @@ Test.prototype.tests = {
|
||||
test(darth.getHeight() === 100, 'height should be 100');
|
||||
test(darth.getOffset().x === 50, 'center offset x should be 50');
|
||||
test(darth.getOffset().y === 30, 'center offset y should be 30');
|
||||
test(Kinetic.GlobalObject._isElement(darth.getImage()), 'darth image should be an element');
|
||||
test(Kinetic.Type._isElement(darth.getImage()), 'darth image should be an element');
|
||||
|
||||
var crop = null;
|
||||
crop = darth.getCrop();
|
||||
|
||||
Reference in New Issue
Block a user