Get MathJax workin'
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Regular → Executable
+8
@@ -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,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)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user