Jump to content
Search Community

compatibility issues

lzy100p test
Moderator Tag

Recommended Posts

hi,

I am an old user, I have been using the old version 2.0 before。

I need to migrate my project to 3.0,I found some problems

 

TweenMax.to(d1,"1",{x:110})

//Writing it this way will throw an error:Uncaught TypeError: Cannot use 'in' operator to search for 'duration' in 1

//2.x No problem


gsap.to(d1,{x:110,duration:"1"})

//No problem writing with gsap

 

It's not a big deal, but it's not compatible with the old project, but hopefully it will behave consistently like the old version

thanks

 

gsap v:3.6.0

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...