hardya
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by hardya
-
-
Thank you all so much I'll take a look
-
So is a significant rewrite required for the code in question?
-
I have this code...
(function(name) { "use strict"; var getGlobal = function() { return (_gsScope.GreenSockGlobals || _gsScope)[name]; }; if (typeof(module) !== "undefined" && module.exports) { //node require("./CustomEase"); require("gsap/TweenLite"); module.exports = getGlobal(); } else if (typeof(define) === "function" && define.amd) { //AMD define(["gsap/TweenLite", "./CustomEase"], getGlobal); } }("CustomBounce"));
But "gsap/TweenLite" can no longer be found.
I guess there will have been significant changes between versions, but I'm looking for a simple resolve at this stage with a more detailed rewrite at a later stage.
Can anyone help me with where this module may now be?
Thanks
Upgraded from 2.0.2 to 3.7.0
in GSAP
Posted
Jack,
Thank you so much for your response, I really appreciate it.
It's old code, only just come to it, I am also new to gsap
under a gsap folder we have these files with code in written by you I think
CustomBounce
CustomEase
CustomWiggle
DrawSVGPlugin
MorphSVGPlugin
Physics2DPlugin
PhysicsPropsPlugin
ScrambleTextPlugin
SplitText
ThrowPropsPlugin
GSDevTools
then an index with this
import "gsap";
// import "./CustomBounce";
// import "./CustomEase";
// import "./CustomWiggle";
// import "./DrawSVGPlugin";
// import "./MorphSVGPlugin";
// import "./Physics2DPlugin";
// import "./PhysicsPropsPlugin";
// import "./ScrambleTextPlugin";
// import "./SplitText";
// import "./ThrowPropsPlugin";
export * from "gsap";
I guess GSDevTools was always present but never used
commenting out the features which I understand are now in gsap
leads to successful compile and UI presentation. Just early quick fix.
I think the animation code only uses
TweenMax
SteppedEase
It will take me time to setup the right related data in order to properly fully the animation
but since it all compiles I am hoping our existing use of
TweenMax
SteppedEase
won't present anything unexpected.
What do you think?
Thank you again, really appreciate it.