Jump to content
Search Community

closure compiler externs?

erikb
Moderator Tag

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

Posted

Are there google closure compiler externs available?

Posted

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
Posted

Making some progress on them, hope to share soon.

  • Like 2
  • 8 months later...
Posted

This project fell by the wayside.  Sorry.

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

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

Posted

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 () {};

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