PathFinding.js
PathFinding.js copied to clipboard
Linting errors + 'bench' not working on Windows
- Added
.jshintrc - Removed unneeded variables / matched quotes / == to ===
-
benchmark/parse_map.js- was trying to split by
'\r\n'on Windows. Changed to/\r?\n/ - instead of calling
toString, read file by utf8 encoding
- was trying to split by
Mine is unset. But, either way, the regular expression will work, while the EOL assumes the files have the same line endings your os uses
@joshq00 Everything looks fine to me. Thanks for the patch :+1: @qiao Any questions you have or should I go ahead and merge?
?