if (animation.ease === undefined) {
animation.ease = "Power1.easeOut";
}
+ if (animation.rotate !== undefined) {
+ animation.rotation = animation.rotate;
+ }
+ if (animation.rotation !== undefined) {
+ from.rotation = animation.rotation;
+ }
to.ease = animation.ease;
if (animation.delay !== undefined) {
//to.visibility = 'visible';
if (Modernizr.firefox) {
to.force3D = true;
- to.rotation = 0.01;
- from.rotation = 0.01;
+ from.rotation += 0.01;
+ to.rotation = from.rotation;
}
} else if (animation.type === 'fadein') {