added back compat Factor method and plugged in the methods that changed with the 5.0.0 release

This commit is contained in:
Eric Rowell
2014-01-10 22:58:55 -08:00
parent 79701fcca0
commit 99e7ad4bf0
7 changed files with 49 additions and 5 deletions

View File

@@ -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);
});
});