ipaulsen Posted November 23, 2019 Share Posted November 23, 2019 Here is my pen. I think I am loading the correct files? I have placed v3 on my site... https://cdn.shopify.com/s/files/1/0249/7784/t/1551/assets/Physics2DPlugin.min.js but on that same pen when I swap out the file with https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/Physics2DPlugin.min.js it works. Just click on the crown to see the difference on the Pen. Thanks for the help in advance! Is there any way I can download older versions of the plugins? See the Pen VwwROLR by ipaulsen (@ipaulsen) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted November 23, 2019 Share Posted November 23, 2019 Yep, you were loading a v3 plugin and a really old v1 core TweenMax file instead of the updated v3 core GSAP file (there’s no more TweenMax, TweenLite, TimelineLite, or TimelineMax - they’re all consolidated into a single, simple “gsap” object). Here’s a fork: See the Pen f81a19baf3aa069f90b58993a2509028 by GreenSock (@GreenSock) on CodePen Better? You might want to read through the release notes at To be clear, the “latest” directory on the CDN is actually super old (ironically). CDNJS refused to support that years ago, locking it in place so it’ll never be updated again. Confusing, I know. Just stick with the real version numbers. Happy tweening! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now