Skip to content

lastValidCoord is undefined #149

Open
@dispossible

Description

In Util.js at line 167 in the smoothenPath function, lastValidCoord is undefined. Which if running the script standalone wouldn't be an issue as js will add the variable to the window scope, however it causes my build to error when used with the webpack and babel preprocessors.

I believe the fix for this is that variable should to be defined on line 145 along with the other scoped variables.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions