Remove math engines
This commit is contained in:
parent
3f53c62d4d
commit
1e7957a2cd
22 changed files with 67 additions and 81 deletions
|
@ -1,4 +1,4 @@
|
|||
function mathjax_pagedown($) {
|
||||
function latex_pagedown($) {
|
||||
$.each(window.editors, function (id, editor) {
|
||||
var preview = $('div.wmd-preview#' + id + '_wmd_preview')[0];
|
||||
editor.hooks.chain('onPreviewRefresh', function () {
|
||||
|
@ -8,8 +8,8 @@ function mathjax_pagedown($) {
|
|||
});
|
||||
}
|
||||
|
||||
window.mathjax_pagedown = mathjax_pagedown;
|
||||
window.latex_pagedown = latex_pagedown;
|
||||
|
||||
$(function () {
|
||||
(mathjax_pagedown)('$' in window ? $ : django.jQuery);
|
||||
(latex_pagedown)('$' in window ? $ : django.jQuery);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue