Commit graph

12 commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
538bf99ece MDL-45486 Bump all versions to planned release
This bumps all versions to planned 2.7 release
(2014051200) version and all the dependencies to
current 2.7rc2 (2014050800)
2014-05-09 02:12:28 +02:00
Helen Foster
f15fa7a281 MDL-45410 Merge English strings from the en_fix language pack 2014-05-07 00:16:51 +02:00
Andrew Davis
feac5dc7ba MDL-44780 filter_mathjaxloader: mathjax is now at the top of the filter list 2014-04-30 08:29:14 +08:00
Andrew Davis
0c7d3f2bc4 MDL-44780 filter_mathjaxloader: switched mathjax filter on by default 2014-04-30 08:29:13 +08:00
Damyon Wiese
16ad61bf55 MDL-43856 MathJax: Delay setting of lang until after MathJax startup 2014-04-09 16:44:40 +08:00
Damyon Wiese
22cee6a7ea MDL-43856 MathJax: Remove unused build folder.
This is left over from when I renamed the module.
2014-04-07 17:21:43 +08:00
Damyon Wiese
1c9785d52d MDL-43856 MathJAX: Small correction to readme_moodle.txt
The CDN urls have been moved to settings.php.
2014-04-07 15:44:06 +08:00
Damyon Wiese
aaf6f1e8f2 MDL-43856 MathJax: Dynamically load mathjax into the page (as required).
This is to solve a tricky edge case, when a page has no equations, and then an AJAX
action loads filtered content which contains an equation. (The glossary filter can do this).

To fix this I split the loading into configuration and typesetting. The config always happens,
but does not load the external mathjax libraries. The typesetting happens when an equation is
found - and is what triggers the load of MathJax. This can happen in response to an AJAX event.
2014-04-04 14:18:50 +08:00
Damyon Wiese
894e20395d MDL-43856 MathJax: Add a setting for additional delimiters to support e.g. ASCIIMATH 2014-04-04 13:30:08 +08:00
Damyon Wiese
441f94b263 MDL-43856 MathJax: Coding style cleanups. 2014-04-03 14:36:42 +08:00
Damyon Wiese
cc90cedc85 MDL-43856 MathJax: Improvements to the MathJax filter
* Remove all traces of mathjax from the atto equation editor - it is filter agnostic
* Add a M.core.event module for core events that can be published/subscribed to by plugins (loose coupling)
* Add a FILTER_CONTENT_UPDATED event so plugins can tell the filter system when nodes are added to the page
* Implement a listener for this event in the MathJax filter
* Fire this event from the equation editor and from the glossary filter
* Add a nolink tag to the mathjax filter, so equations will not be processed by the other filters
* Add a smarter throttle function to the equation editor preview updates (Y.throttle is dumb)
2014-04-03 14:36:36 +08:00
Damyon Wiese
7f6753151e MDL-43856 MathJax: Add a mathjax loader filter. 2014-04-03 14:36:16 +08:00