docs: fix typos and copy-paste errors in example comments - #5
Open
Avicennasis wants to merge 1 commit into
Open
Conversation
Signed-off-by: Léon Avic Simmons <Avicennasis@gmail.com>
Avicennasis
force-pushed
the
docs/fix-typos
branch
from
September 5, 2026 18:07
4e8c992 to
4a149f9
Compare
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
Fix 17 typos and copy-pasted comments across 5 examples. Comments only - no code,
no identifiers and no user-visible strings were changed.
All four routing examples (
map-with-pedestrian-route-from-a-to-b,map-with-route-from-a-to-b,map-with-route-from-a-to-b-using-public-transport,map-with-truck-route-from-a-to-b), indemo.js:A representitive styling can be found the full JS + HTML code->A representative styling can be found in the full JS + HTML code(typo plus the missingin)Opens/Closes a infobubble->Opens/Closes an infobubblemap-with-route-from-a-to-b-using-public-transport/demo.js
Calculates and displays a public trasnsport route->... a public transport routeCopy-pasted JSDoc summaries.
addWaypointsToPanelandaddSummaryToPanelbothcarry the summary line belonging to
addManueversToMap(
Creates a series of H.map.Marker points from the route and adds them to the map.),which describes neither function:
addWaypointsToPanel(pedestrian, route, public-transport) ->Creates a list of the route waypoints and adds it to the route panel.addSummaryToPanel(all four) ->Creates the route summary and adds it to the route panel.custom-cluster-theme/demo.js
Get a reference to data object our noise points->Get a reference to data object of our noise point(the callback receives a singlenoisePoint)Note:
addManueversToMap/addManueversToPanelare also misspelled(
Manueversshould beManeuvers), but those are function names, so they weredeliberately left alone here to keep this PR comment-only. Happy to send that as a
separate rename if you would like it.