Skip to content

Commit

Permalink
Assorted typos (#487)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianteeman authored Apr 1, 2024
1 parent 59bb7e5 commit 92aad12
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build/bundle-sizes.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const regex = /postcss\s(?<filepath>\S+)\s\-[o]\s(?<filename>.*\.css)(?:.*$)/;

/**
* @typedef {Object} Size
* @propety {number} raw - Unminified size in bytes
* @property {number} raw - Unminified size in bytes
* @property {string} size - Unminified size in KiB
* @property {string} minified - Minified size in KiB
* @property {string} brotli - Brotli compressed minified size in KiB
Expand Down
4 changes: 2 additions & 2 deletions docsite/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ <h4>CLI</h4>
<h6>Customize Bundles</h6>
<p></p>
<pre class="language-js"><code>
// bulid src files
// build src files
npm run gen:shadowdom // src files with `:host` instead of `html`
npm run gen:nowhere // src files without `:where()`
npm run gen:prefixed // each prop prefixed with `op`, like `--op-font-size-1`
Expand Down Expand Up @@ -1197,7 +1197,7 @@ <h4>Autocomplete</h4>
<a href="https://www.sublimetext.com/docs/completions.html#plugins" target="_blank">plugins</a>.
</li>
<li>
An approach that is less strenous is the "completion file" approach.
An approach that is less strenuous is the "completion file" approach.
Here, all you'd be required to do is point the `scope` keyword in the .sublime-completions file to the open-props classes in the node_modules folder like so:
</li>
<pre class="language-js"><code>
Expand Down
6 changes: 3 additions & 3 deletions docsite/js/scrollspy.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ let observer = new IntersectionObserver(entries => {
const id = entry.target.id;
// Find it's corresponding link
const link = linkMap[`#` + id];
// Highlight the link of the interesecting container
// Highlight the link of the intersecting container
// and remove any existing containers
if(entry.isIntersecting) {
link.classList.add('in-view')
Expand All @@ -35,8 +35,8 @@ let observer = new IntersectionObserver(entries => {
}
}
// Set a threshold of 10% of the target's visibility to trigger the
// observer's calback. This will trigger the new section faster and
// help keep multiple sections higlighted.
// observer's callback. This will trigger the new section faster and
// help keep multiple sections highlighted.
}, { threshold: .1 });

for (let container of containers) {
Expand Down

0 comments on commit 92aad12

Please sign in to comment.