I have attached Custom Wiggle to my site, and am trying to run the basic example..
//Create a wiggle with 6 oscillations (default type:"easeOut")
CustomWiggle.create("myWiggle", {wiggles:6});
//now use it in an ease. "rotation" will wiggle to 30 and back just as much in the opposite direction, ending where it began.
TweenMax.to($(this).find('img'), 2, {
rotation:30, ease:"myWiggle"
});
However I get the error
ReferenceError: CustomWiggle is not defined
I have other GSAP on the same local host site, and that is working ok. The link to the wiggle js is correct and checked.
I have never tried using wiggle before. Am I overlooking something obvious?