ConnorAtherton / walkway

An easy way to animate SVG elements.
http://connoratherton.com/walkway
MIT License
4.37k stars 229 forks source link

Custom easing functions aren't used #36

Closed jason-jukedeck closed 8 years ago

jason-jukedeck commented 8 years ago

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: duration,
    easing: function(t) {
        console.log('never gets called');
        return t;
    }
});