Skip to content
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

Fix lint errors in webapp #1357

Merged
merged 1 commit into from May 5, 2018
Merged

Fix lint errors in webapp #1357

merged 1 commit into from May 5, 2018

Conversation

fbonzon
Copy link
Contributor

@fbonzon fbonzon commented May 4, 2018

Fix old webapp/ path.

Fixes lint errors reported by npm run lint:

src/main/resources/assets/js/config/tileLayers.js: line 55, col 1, Label 'https' on var statement.

src/main/resources/assets/js/graphhopper/GHRequest.js: line 221, col 13, 'url' is already defined.
src/main/resources/assets/js/graphhopper/GHRequest.js: line 222, col 13, 'arr' is already defined.
src/main/resources/assets/js/graphhopper/GHRequest.js: line 223, col 18, 'keyIndex' is already defined.
src/main/resources/assets/js/graphhopper/GHRequest.js: line 230, col 2, Missing semicolon.

src/main/resources/assets/js/main-template.js: line 671, col 30, 'i' is already defined.

src/main/resources/assets/js/tools/url.js: line 63, col 9, 'tmpVal' is already defined.

Tested at: https://gh.bikewm.com/

Fix old webapp/ path.

Fixes lint error reported by `npm run lint`:

src/main/resources/assets/js/config/tileLayers.js: line 55, col 1, Label 'https' on var statement.

src/main/resources/assets/js/graphhopper/GHRequest.js: line 221, col 13, 'url' is already defined.
src/main/resources/assets/js/graphhopper/GHRequest.js: line 222, col 13, 'arr' is already defined.
src/main/resources/assets/js/graphhopper/GHRequest.js: line 223, col 18, 'keyIndex' is already defined.
src/main/resources/assets/js/graphhopper/GHRequest.js: line 230, col 2, Missing semicolon.

src/main/resources/assets/js/main-template.js: line 671, col 30, 'i' is already defined.

src/main/resources/assets/js/tools/url.js: line 63, col 9, 'tmpVal' is already defined.
@karussell
Copy link
Member

Thanks a lot!

@karussell karussell added this to the 0.11 milestone May 5, 2018
@karussell karussell merged commit f80ffa6 into graphhopper:master May 5, 2018
@fbonzon fbonzon deleted the lint branch May 5, 2018 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants