Uncaught ReferenceError: l is not defined at t.Scene.n.setTween #636

Open
benjaminben opened this Issue Jan 11, 2017 · 0 comments

Projects

None yet

1 participant

@benjaminben
benjaminben commented Jan 11, 2017 edited

Hey hey, having an issue with the minified version of animation.gsap plugin (npm installed scrollmagic -v 2.0.5):

n.setTween = function(t, a, s) {
    var o;
    arguments.length > 1 && (arguments.length < 3 && (s = a,
    a = 1),
    t = e.to(t, a, s));
    try {
        o = r ? new r({
            smoothChildTiming: !0
        }).add(t) : t,
        o.pause()
    } catch (l) {
        return n
    }
    return l && n.removeTween(), // where chrome reports the issue
    l = o,
    t.repeat && -1 === t.repeat() && (l.repeat(-1),
    l.yoyo(t.yoyo())),
    i(),
    n
}

Issue disappears when I switch to the uncompressed version of animation.gsap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment