Unverified Commit 6687f280 authored by hiro's avatar hiro Committed by GitHub

Fix typos: code comment (#41691)



## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have a helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
Co-authored-by: 's avatarJJ Kasper <22380829+ijjk@users.noreply.github.com>
parent 9c079933
......@@ -22,7 +22,7 @@ interface Options {
/**
* Generates a path matcher function for a given path and options based on
* path-to-regexp. By default the match will be case insesitive, non strict
* path-to-regexp. By default the match will be case insensitive, non strict
* and delimited by `/`.
*/
export function getPathMatch(path: string, options?: Options) {
......
......@@ -53,7 +53,7 @@ function getParametrizedRoute(route: string) {
/**
* From a normalized route this function generates a regular expression and
* a corresponding groups object inteded to be used to store matching groups
* a corresponding groups object intended to be used to store matching groups
* from the regular expression.
*/
export function getRouteRegex(normalizedRoute: string): RouteRegex {
......
......@@ -918,7 +918,7 @@ var focusSvgForeignobjectTabindex = {
element.innerHTML = generate(
'<foreignObject tabindex="-1"><input type="text" /></foreignObject>'
)
// Safari 8's quersSelector() can't identify foreignObject, but getElementyByTagName() can
// Safari 8's querySelector() can't identify foreignObject, but getElementsByTagName() can
return (
element.querySelector('foreignObject') ||
element.getElementsByTagName('foreignObject')[0]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment