From dfa5498a0b507c429c49eed4c415f5275decfa53 Mon Sep 17 00:00:00 2001 From: "Anders D. Johnson" Date: Fri, 3 Jul 2020 12:40:39 -0500 Subject: [PATCH] Website: Fixed typos "Prims" (#2455) --- docs/styles/overwrites.css | 2 +- extending.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/styles/overwrites.css b/docs/styles/overwrites.css index 64d12219c5..37596f1bb0 100644 --- a/docs/styles/overwrites.css +++ b/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 { diff --git a/extending.html b/extending.html index 532dd436aa..6005a6ed3c 100644 --- a/extending.html +++ b/extending.html @@ -271,7 +271,7 @@

Dependency kinds

optional
- Prims will ensure that an optional dependee is loaded before the depender if the dependee is loaded. Unlike require dependencies which also guarantee that the dependees are loaded, optional dependencies only guarantee the order of loaded components.
+ Prism will ensure that an optional dependee is loaded before the depender if the dependee is loaded. Unlike require dependencies which also guarantee that the dependees are loaded, optional dependencies only guarantee the order of loaded components.
You are not allowed to modify the dependees. If you need to modify the optional dependee, declare it as modify instead.

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 optional dependencies, users can better control the bundle size of Prism by only including the languages they need.