Skip to content

Commit

Permalink
Fix multiple typos (#703)
Browse files Browse the repository at this point in the history
* Fix typo in import.html.md.erb

The following sentence:

> ...libraries must **prefix to all** their members...

Should read:

> ...libraries must **add a prefix to all** their members...

* Fix typo in comments.html.md.erb

The following:

> Because the **extend** of the comment...

Should read:

> Because the **extent** of the comment...

* Fix typo in string.html.md.erb

The sentence:

> ...relying on **this** operators...

Should read:

> ...relying on **these** operators...

* Fix typo in string.html.md.erb

The following sentence:

> If **of** `$index` is higher...

Should read:

> If `$index` is higher...

* Reflow source/documentation/at-rules/import.html.md.erb

---------

Co-authored-by: Goodwine <2022649+Goodwine@users.noreply.github.com>
  • Loading branch information
ericmutta and Goodwine committed Mar 22, 2023
1 parent 95a617d commit abaee7e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions source/documentation/at-rules/import.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ required to have quotes.
This makes it very difficult for people (or tools) to tell where anything is
defined.

* Because everything's global, libraries must prefix to all their members to
avoid naming collisions.
* Because everything's global, libraries must add a prefix to all their
members to avoid naming collisions.

* [`@extend` rules][] are also global, which makes it difficult to predict
which style rules will be extended.
Expand Down
2 changes: 1 addition & 1 deletion source/documentation/modules/string.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ title: sass:string
@debug string.insert("Roboto Bold", " Mono", -6) // "Roboto Mono Bold"
<% end %>

If of `$index` is higher than the length of `$string`, `$insert` is added to
If `$index` is higher than the length of `$string`, `$insert` is added to
the end. If `$index` is smaller than the negative length of the string,
`$insert` is added to the beginning.

Expand Down
2 changes: 1 addition & 1 deletion source/documentation/operators/string.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ that can be written to CSS, with a few exceptions:
<% heads_up do %>
It's often cleaner and clearer to use [interpolation][] to create strings,
rather than relying on this operators.
rather than relying on these operators.

[interpolation]: ../interpolation
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion source/documentation/syntax/comments.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ written with `//` are never emitted as CSS, but unlike SCSS everything indented
beneath the opening `//` is also commented out.

Indented syntax comments that start with `/*` work with indentation the same
way, except that they are compiled to CSS. Because the extend of the comment is
way, except that they are compiled to CSS. Because the extent of the comment is
based on indentation, the closing `*/` is optional. Also like SCSS, `/*`
comments can contain [interpolation][] and can start with `/*!` to avoid being
stripped in compressed mode.
Expand Down

0 comments on commit abaee7e

Please sign in to comment.