mirror of
https://github.com/konvajs/konva.git
synced 2026-03-03 16:58:33 +08:00
added back compat Factor method and plugged in the methods that changed with the 5.0.0 release
This commit is contained in:
@@ -569,4 +569,10 @@ suite('Shape', function() {
|
||||
layer.hitCanvas._canvas.style.border='2px solid black';
|
||||
});
|
||||
|
||||
test('back compat', function() {
|
||||
assert.notEqual(Kinetic.Shape.prototype.dashArray, undefined);
|
||||
assert.notEqual(Kinetic.Shape.prototype.setDashArray, undefined);
|
||||
assert.notEqual(Kinetic.Shape.prototype.getDashArray, undefined);
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user