i find this: https://greensock.com/docs/#/HTML5/GSAP/TweenLite/vars/
and this is my code:
function tweenCompleteHandler() {
alert("Complete!")
};
TweenLite.prototype.vars.onComplete = tweenCompleteHandler;
var animation = TweenLite.to("#box", 1, {
x : 550
});
it didn't work? does TweenLite have something like jQuery.ajaxSetup() ?