Jump to content
OregonPete

Global Greensock version constant for version display?

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! :)

Share this post


Link to post
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 :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.