Get MathJax workin'
This commit is contained in:
@@ -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
|
||||
|
||||
Regular → Executable
+8
@@ -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,5 +1,6 @@
|
||||
* Editor
|
||||
* Get MathJax running
|
||||
* Fix up regexes
|
||||
* Figure out why Dialogs won't fire in IE7 (likely a css issue)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user