Website: Fixed typos "Prims" (#2455)

This commit is contained in:
Anders D. Johnson 2020-07-03 12:40:39 -05:00 committed by GitHub
parent a0a9f1ef21
commit dfa5498a0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -271,7 +271,7 @@ Brief description.</code></pre>
</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>