ThePixelPixie Posted January 8 Share Posted January 8 Ok, so I didn't have this error in my CodePen, so I'm guessing it has to do with how I'm calling the script on my staging site? I *think* I have a paid membership? I'm able to generate a token in my account page, but I don't know how to use it. The error I'm getting on my staging site is this: "Invalid property easeParams set to Array [1.1, 0.5] Missing plugin? gsap.registerPlugin()" When I saw that I thought maybe the easing I'm using isn't part of gsap.min (though it's just "elastic.out" for the animation with those parameters, so I *thought* that was part of gsap.min?), so I added EasePack and CustomEase to my scripts. But I'm still getting the error. Did my membership lapse? Surely I'm missing something super obvious here... Link to comment Share on other sites More sharing options...
Solution ThePixelPixie Posted January 8 Author Solution Share Posted January 8 nevermind. My membership had expired and I didn't realize it. So sorry. Link to comment Share on other sites More sharing options...
GreenSock Posted January 8 Share Posted January 8 1 hour ago, ThePixelPixie said: nevermind. My membership had expired and I didn't realize it. So sorry. No problem! Thanks for your support. As for that error, though, that sounds a little fishy to me. You shouldn't need to define easeParams at all - that's the very very old syntax (before 2019). Can you paste the code snippet here that's throwing that error? That way, I can guide you on what it's supposed to look like in GSAP 3+. Link to comment Share on other sites More sharing options...
ThePixelPixie Posted January 8 Author Share Posted January 8 Hi there, Sure. The error is with line 134 in this code, but on my staging site (I don't get any console errors with it in CodePen though, which is why I've assumed it's something to do with my non-CodePen version). See the Pen mdoPPJB by ThePixelPixie (@ThePixelPixie) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted January 9 Share Posted January 9 Yep, that's invalid code: // OLD ease: "elastic.out", easeParams: [1.1, 0.5] // NEW ease: "elastic.out(1.1, 0.5)" Simpler & cleaner 🙂 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