Jump to content
Search Community

hardya

Members
  • Posts

    4
  • Joined

  • Last visited

hardya's Achievements

0

Reputation

  1. 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.
  2. Thank you all so much I'll take a look
  3. So is a significant rewrite required for the code in question?
  4. 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
×
×
  • Create New...