Merge branch 'master' of github.com:ericdrowell/KineticJS

This commit is contained in:
Лаврёнов Антон
2014-03-21 13:54:23 +08:00
14 changed files with 394 additions and 321 deletions

View File

@@ -2759,6 +2759,11 @@ suite('Node', function() {
circle.position({x: 6, y: 8});
assert.equal(circle.position().x, 6);
assert.equal(circle.position().y, 8);
// because the height was set to 11, the width
// is also 11 because the node is a circle
assert.equal(circle.size().width, 11);
assert.equal(circle.size().height, 11);
});
test('cache shape', function(){

View File

@@ -63,7 +63,7 @@ suite('Tween', function() {
});
// ======================================================
test('tween node 2', function() {
test('destroy tween while tweening', function() {
var stage = addStage();
var layer = new Kinetic.Layer();