ConnorAtherton / walkway

An easy way to animate SVG elements.

Home Page:http://connoratherton.com/walkway

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom easing functions aren't used

JasonStorey opened this issue · comments

The Readme says a custom easing function can be passed in the config object, but it doesn't seem to get used.

Checked the source and I don't see anything that could support a custom easing function.

Am I going mad?

Here is my example.

var svg = new Walkway({
    selector: '#my-svg',
    duration: 1000,
    easing: function(t) {
        console.log('never gets called');
        return t;
    }
});

@JasonStorey Thanks for bringing this bug to my attention. It's fixed now.