added support for heigt and width properties inside an object config property to be transition-able

This commit is contained in:
Eric Rowell
2012-05-13 17:04:15 -07:00
parent 1c36f208c0
commit 9944b897c4
5 changed files with 31 additions and 5 deletions

View File

@@ -1019,6 +1019,18 @@ Test.prototype.tests = {
test(crop.y === 20, 'crop y should be 20');
test(crop.width === 200, 'crop width should be 200');
test(crop.height === 250, 'crop height should be 250');
/*
darth.transitionTo({
crop: {
width: 100,
height: 125
},
duration: 1
});
*/
};
imageObj.src = '../darth-vader.jpg';
},