Jump to content
Search Community

Global Greensock version constant for version display?

OregonPete test
Moderator Tag

Recommended Posts

I've seen that a lot of the greensock core classes have an undocumented "version" constant that can be displayed for debug purposes. Is there also a global "version" constant for the current greensock version per se, or would it be possible to add such a constant? It sure would be useful! :)

Link to comment
Share on other sites

Sure, you can check TweenLite.version or TweenMax.version. Typically the core files (TweenLite, TweenMax, TimelineLite, and TimelineMax) are in sync version-wise. GSAP is just a name for the group of animation tools - there isn't really a GSAP file we could add a version property to :)

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...