Skip to content

Commit

Permalink
Website: Fixed typos "Prims" (#2455)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndersDJohnson committed Jul 3, 2020
1 parent a0a9f1e commit dfa5498
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/styles/overwrites.css
@@ -1,7 +1,7 @@
/*
* This file contains specific fixes and changes from some parts of the theme.
*
* This file is part of Prims and not of the theme!
* This file is part of Prism and not of the theme!
*/

pre.prettyprint > ol.linenums {
Expand Down
2 changes: 1 addition & 1 deletion extending.html
Expand Up @@ -271,7 +271,7 @@ <h3>Dependency kinds</h3>
</dd>
<dt><code>optional</code></dt>
<dd>
Prims will ensure that an optional dependee is loaded before the depender if the dependee is loaded. Unlike <code>require</code> dependencies which also guarantee that the dependees are loaded, <code>optional</code> dependencies only guarantee the order of loaded components. <br>
Prism will ensure that an optional dependee is loaded before the depender if the dependee is loaded. Unlike <code>require</code> dependencies which also guarantee that the dependees are loaded, <code>optional</code> dependencies only guarantee the order of loaded components. <br>
You are <strong>not</strong> allowed to modify the dependees. If you need to modify the optional dependee, declare it as <code>modify</code> instead.

<p>This kind of dependency is useful if you have embedded languages but you want to give the users a choice as to whether they want to include the embedded language. By using <code>optional</code> dependencies, users can better control the bundle size of Prism by only including the languages they need.<br>
Expand Down

0 comments on commit dfa5498

Please sign in to comment.