Jump to content

Andy Bui

Register Plugin

Recommended Posts

Hi everyone,


I have a small concern about the bonus plugin that using in projects. I am loading the plugin via <script> tag and tag the js file via /minified files. And without "gsap.registerPlugin()", I still can use the plugin as usual. Do I need to put the register code in the project if selling to other clients to ensure the plugin can be used without any problems ?


Thank you in advance.

Link to comment
Share on other sites

Thanks for being a Club GreenSock member!


When you load a plugin file after GSAP is already loaded, it'll actually try to register itself (as a convenience) but we still recommend calling gsap.registerPlugin(...) just as a good practice. This has NOTHING to do with authenticating your Club GreenSock membership or anything like that. The bonus plugins you get after joining Club GreenSock don't have any "phone home" scripts or anything that would cause them to suddenly break if your membership expires. Our whole business model relies on the honor system. 


Happy tweening!

  • Like 1
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.