www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 963b69b7ba5ad1150b25bb8604b8cb3f09fce15d
parent 08e0e9f697b23400b0831293ae2461efe71e1de8
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Mon,  7 Mar 2011 20:37:33 -0500

Update startup sequence

Diffstat:
Mdocs/source/startup.rst | 37+++++++++++++++++++++++--------------
1 file changed, 23 insertions(+), 14 deletions(-)

diff --git a/docs/source/startup.rst b/docs/source/startup.rst @@ -63,11 +63,10 @@ pushed into the queue: 2. Perform the configuration actions: - Post the ``Begin Config`` startup signal - - Execute the content of the ``<script>`` that loaded MathJax, - or load the ``config/MathJax.js`` file if the ``<script>`` - is empty - - If the ``MathJax.Hub.config.delayStartupUntil`` value is set, - wait until its condition is met + - Load any configuration files specified via ``config=`` as a script parameter + - Execute the content of the ``<script>`` that loaded MathJax, if it is not empty + - Wait for the ``delayStartupUntil`` condition to be met, if one was specified + - Execute any ``text/x-mathjax-config`` script blocks - load the files listed in the ``MathJax.Hub.config.config`` array - Post the ``End Config`` startup signal @@ -115,15 +114,20 @@ pushed into the queue: .. -7. Wait for the onload handler to fire +7. Set the MathJax menu's renderer value based on the jax that have been + loaded .. -8. Set ``MathJax.isReady`` to ``true`` +8. Wait for the onload handler to fire .. -9. Perform the typesetting pass (preprocessors and processors) +9. Set ``MathJax.isReady`` to ``true`` + +.. + +10. Perform the typesetting pass (preprocessors and processors) - Post the ``Begin Typeset`` startup signal - Post the ``Begin PreProcess`` hub signal @@ -141,12 +145,16 @@ pushed into the queue: .. -10. Post the ``End`` startup signal - - - - - +11. Post the ``End`` startup signal +The loading of the jax and extensions in steps 5 and 6 are now done in +parallel, rather than sequentially. That is, all the jax and extensions +are requested simultaneously, so they load concurrently. That means they +can load in any order, and that the begin and end signals for the jax and +extensions can be intermixed. (In general, you will get `Begin Jax` +followed by `Begin Extensions`, but the order of `End Jax` and `End +Extensions` will depend on the file sbeing loaded.) Both 5 and 6 must +complete, however, before 7 will be performed. +See the ``test/sample-signals.html`` file to see the signals in action. +\ No newline at end of file