Skip to content

Commit a264527

Browse files
authored
Merge pull request #317 from OPiMedia/master
Corrected typos: futher, ortherwise, pacakge, sholud...
2 parents 0bd487e + 9a216e0 commit a264527

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

options/startup/loader.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Option Descriptions
4747

4848
This array lists the components that you want to load. If you are
4949
using a combined component file, you may not need to request any
50-
additional components. If you are using using the :ref:`startup-component`
50+
additional components. If you are using the :ref:`startup-component`
5151
component explicitly, then you will need to list all the components
5252
you want to load.
5353

@@ -58,7 +58,7 @@ Option Descriptions
5858
loaded successfully. By default, it simply calls the
5959
:ref:`startup-component` component's :ref:`ready() <startup-ready>`
6060
function, if there is one. You can override this with your own
61-
function, can can call :meth:`MathJax.loader.defaultReady()` after
61+
function, can call :meth:`MathJax.loader.defaultReady()` after
6262
doing whatever startup you need to do. See also the
6363
:ref:`loader-component-options` section for how to tie into
6464
individual components being loaded.
@@ -71,7 +71,7 @@ Option Descriptions
7171
console log, but you can override it to trap loading errors in
7272
MathJax components. See also the :ref:`loader-component-options`
7373
section below for how to trap individual component errors.
74-
74+
7575
.. _loader-paths:
7676
.. describe:: paths: {mathjax: Loader.getRoot()}
7777

@@ -105,7 +105,7 @@ Option Descriptions
105105

106106
You can define as many different paths as you need. Note that
107107
paths can refer to other paths, so you could do
108-
108+
109109
.. code-block:: javascript
110110
111111
MathJax = {
@@ -139,7 +139,7 @@ Option Descriptions
139139
};
140140
141141
gives an explicit location to obtain the ``special/extension`` component.
142-
142+
143143

144144
.. _loader-dependencies:
145145
.. describe:: dependencies: {}
@@ -171,7 +171,7 @@ Option Descriptions
171171
components to be loaded prior to loading your extension, and would
172172
load your extension from the given URL even though you may be
173173
getting MathJax from a CDN.
174-
174+
175175

176176
.. _loader-provides:
177177
.. describe:: provides: {}
@@ -233,9 +233,9 @@ Option Descriptions
233233
a string that is the location of the component to load, and should
234234
do whatever is needed to load that component. If the loading is
235235
asynchronous, it should return a promise that is resolved when the
236-
component is loaded, ortherwise it should return nothing. If there
236+
component is loaded, otherwise it should return nothing. If there
237237
is an error loading the component, it should throw an error.
238-
238+
239239
If set ``null``, the default is to insert a ``<script>`` tag into
240240
the document that loads the component.
241241

@@ -331,7 +331,7 @@ the `input/tex` component is either loaded successfully or fails to load.
331331

332332
This is a function that has an argument that is a ``PackageError``
333333
object (which is a subclass of ``Error`` with an extra field, that
334-
being ``pacakge``, the name of the component being loaded). It is
334+
being ``package``, the name of the component being loaded). It is
335335
called when the component fails to load (and that can be because
336336
one of its dependencies fails to load).
337337

options/startup/startup.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Option Descriptions
7676
the page is ready to be processed. The default action is to
7777
perform the initial typesetting of the page and return the promise
7878
that resolves what that is complete, but you can override it to do
79-
whatever you would like, though you sholud return the promise from
79+
whatever you would like, though you should return the promise from
8080
the :meth:`MathJax.startup.defaultPageReady()` function if you call
8181
it. See :ref:`startup-action` for more details and examples of how
8282
to do this.

0 commit comments

Comments
 (0)