Jump to content
Search Community

closure compiler externs?

erikb test
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

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

  • 8 months later...
  • 1 month later...
  • 1 year later...

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.
×
×
  • Create New...