docs: fix typos in example code comments - #181
Open
Avicennasis wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes 13 typos in JSDoc/block comments across 6 example folders. Comments only - no executable code is touched and no identifiers are renamed.
Opens/Closes a infobubble->an infobubble;can be found the full JS + HTML code->can be found in the full JS + HTML codeaddress details of 425 Randolph St->details of 425 Randolph St(stray double space)On
an infobubble:open-infobubble/demo.jsalready uses the correct article, so this just brings the other examples in line.Deliberately left alone
The misspelled function names
addManueversToMap/addManueversToPanel("Manuevers" -> "Maneuvers") appear inmap-with-pedestrian-route-from-a-to-b,map-with-route-from-a-to-b-using-public-transportandmap-with-route-from-a-to-b. They are real identifiers with declarations and call sites, and these files are copy-paste starting points for developers, so I did not rename them - that is a maintainer call, not a typo fix.The same two comment typos also appear in
map-with-route-from-a-to-b/demo.js(both) andmap-with-isoline-route/demo.js(can be found the full). I kept this PR to the files I had verified, but I'm happy to extend it to those two if you'd prefer the whole repo consistent in one go.No functional changes.