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
*/
mathJax: function() {
//TODO
return false;
return (typeof window.MathJax == 'object');
},
@@ -769,8 +768,6 @@
}
var helpData = Help._HELP[name];
// add MathJax Help if we have it
// TODO
if ( EditorHas.mathJax() && Help.isLoadedFor('mathjax') ) {
debug('Adding MathJax support to help');
// TODO
+8
View File
@@ -71,6 +71,10 @@ $(document).ready(function() {
});
}
if ( window.MathJax ) {
}
});
var nodeSelector = {
@@ -179,3 +183,7 @@ function highlightOff() {
function highlightChecked() {
nodeSelector.checkNode($(this));
}
function initMathJax() {
}
+1
View File
@@ -1,5 +1,6 @@
* Editor
* Get MathJax running
* Fix up regexes
* Figure out why Dialogs won't fire in IE7 (likely a css issue)