Jump to content


closure compiler externs?

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Are there google closure compiler externs available?

Link to comment
Share on other sites

Not yet, but we plan to create some. Thanks for asking. There are a few other things that are top priority right now (like 3D CSS3 transforms, boxShadow, borderRadius, and clip support as well as ThrowPropsPlugin, all of which we're making great progress on) but we'll get to that after the more pressing things are knocked out. Thanks for your patience. If you (or anyone else) want to take a stab at those and provide a jump-start, feel free to send it our way.

  • Like 1
Link to comment
Share on other sites

Making some progress on them, hope to share soon.

  • Like 2
Link to comment
Share on other sites

  • 8 months later...

This project fell by the wayside.  Sorry.

Link to comment
Share on other sites

  • 1 month later...
  • 1 year later...

Are there any new GSAP extern files, I guess this is quite outdated?

Link to comment
Share on other sites

Okay it turns out the extern file provided is almost doable. I needed to add some support for Draggable, may help someone:

var TweenMax = {};

var Draggable = {};

Draggable.create = function () {};

Draggable.prototype.hitTest = function () {};

Draggable.prototype.applyBounds = function () {};

Draggable.prototype.onDragStart = function () {};

Draggable.prototype.onComplete = function () {};

Draggable.prototype.onStart = function () {};

Draggable.prototype.onDrag = function () {};

Draggable.prototype.onPress = function () {};

Draggable.prototype.onRelease = function () {};

Draggable.prototype.onDragEnd = function () {};

TweenMax.prototype.lagSmoothing = function () {};
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.