MathJax.isPacked and MathJax.AuthorConfig mixup. #636

This commit is contained in:
Frédéric Wang 2013-10-22 15:34:05 +02:00
parent 359c61a827
commit 53b3160dfd

View File

@ -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";