chore: fix some comments (#30053)

Signed-off-by: beforetech <mail@before.tech>
This commit is contained in:
boforetech
2024-08-19 23:28:46 +09:00
committed by GitHub
parent 482358b824
commit 37394ce0c0
3 changed files with 3 additions and 3 deletions

View File

@@ -113,7 +113,7 @@ function maybeScrollToAnchor () {
}
// Get the root HTML element, then query for the desired anchor element.
// Finally, if we found it, scroll into into view!
// Finally, if we found it, scroll into view!
const $el = root.value.$el as HTMLDivElement
const $anchor = $el.querySelector(`#${route.query.anchor}`)

View File

@@ -72,7 +72,7 @@ describe('FileDataSource', () => {
await fs.mkdirs(nestedScriptPath)
await fs.writeFile(path.join(nestedScriptPath, 'nested-script.js'), '')
// Verify that the glob pattern is not impacted if if contains directories equivalent
// Verify that the glob pattern is not impacted if it contains directories equivalent
// to the working directory
let files = await fileDataSource.getFilesByGlob(
projectPath,

View File

@@ -86,7 +86,7 @@ export function domainPropsToHostname ({ domain, subdomain, tld }: Record<string
}
/**
* same-origin: Whether or not a a urls scheme, port, and host match. @see https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy
* same-origin: Whether or not a urls scheme, port, and host match. @see https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy
* same-super-domain-origin: Whether or not a url's scheme, domain, top-level domain, and port match
* same-site: Whether or not a url's scheme, domain, and top-level domain match. @see https://developer.mozilla.org/en-US/docs/Glossary/Site
* @param {Policy} policy - the policy being used