mirror of
https://github.com/konvajs/konva.git
synced 2025-09-18 18:27:58 +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:
@@ -2884,7 +2884,7 @@ suite('Node', function() {
|
||||
y: -74,
|
||||
width: 148,
|
||||
height: 148,
|
||||
showBorder: true
|
||||
drawBorder: true
|
||||
}).offset({
|
||||
x: 74,
|
||||
y: 74
|
||||
|
@@ -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