From 53b3160dfd17dede4549342401f016f94a4c4278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Tue, 22 Oct 2013 15:34:05 +0200 Subject: [PATCH] MathJax.isPacked and MathJax.AuthorConfig mixup. #636 --- unpacked/MathJax.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unpacked/MathJax.js b/unpacked/MathJax.js index 34ccd5101..13be007cf 100644 --- a/unpacked/MathJax.js +++ b/unpacked/MathJax.js @@ -27,9 +27,12 @@ * limitations under the License. */ +if (window.MathJax) {window.MathJax = {AuthorConfig: window.MathJax}} else {window.MathJax = {}} + +// MathJax.isPacked = true; // This line is uncommented by the packer. + if (document.getElementById && document.childNodes && document.createElement) { -if (window.MathJax) {window.MathJax = {AuthorConfig: window.MathJax}} else {window.MathJax = {}} if (!MathJax.Hub) { // skip if already loaded MathJax.version = "2.3-beta";