-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lastValidCoord is undefined #149
Comments
Just ran into the same problem when packaging Pathfinding using Rollup. The problem is that |
Whats up with this?
|
The pull request is still open, so this repo doesn't contain the fix yet. I doubt it ever will 😢 You can use my fork where I did merge the fix into master: |
Thanks, will check it out |
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.
The text was updated successfully, but these errors were encountered: