Get MathJax workin'

This commit is contained in:
Eston Bond
2010-12-06 14:37:11 -08:00
parent 57d40c48e3
commit c5631ae376
3 changed files with 10 additions and 4 deletions
@@ -353,8 +353,7 @@
* @return boolean * @return boolean
*/ */
mathJax: function() { mathJax: function() {
//TODO return (typeof window.MathJax == 'object');
return false;
}, },
@@ -769,8 +768,6 @@
} }
var helpData = Help._HELP[name]; var helpData = Help._HELP[name];
// add MathJax Help if we have it
// TODO
if ( EditorHas.mathJax() && Help.isLoadedFor('mathjax') ) { if ( EditorHas.mathJax() && Help.isLoadedFor('mathjax') ) {
debug('Adding MathJax support to help'); debug('Adding MathJax support to help');
// TODO // TODO
+8
View File
@@ -71,6 +71,10 @@ $(document).ready(function() {
}); });
} }
if ( window.MathJax ) {
}
}); });
var nodeSelector = { var nodeSelector = {
@@ -179,3 +183,7 @@ function highlightOff() {
function highlightChecked() { function highlightChecked() {
nodeSelector.checkNode($(this)); nodeSelector.checkNode($(this));
} }
function initMathJax() {
}
+1
View File
@@ -1,5 +1,6 @@
* Editor * Editor
* Get MathJax running * Get MathJax running
* Fix up regexes
* Figure out why Dialogs won't fire in IE7 (likely a css issue) * Figure out why Dialogs won't fire in IE7 (likely a css issue)