MathJax.isPacked and MathJax.AuthorConfig mixup. #636
This commit is contained in:
parent
359c61a827
commit
53b3160dfd
|
@ -27,9 +27,12 @@
|
||||||
* limitations under the License.
|
* 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 (document.getElementById && document.childNodes && document.createElement) {
|
||||||
|
|
||||||
if (window.MathJax) {window.MathJax = {AuthorConfig: window.MathJax}} else {window.MathJax = {}}
|
|
||||||
if (!MathJax.Hub) { // skip if already loaded
|
if (!MathJax.Hub) { // skip if already loaded
|
||||||
|
|
||||||
MathJax.version = "2.3-beta";
|
MathJax.version = "2.3-beta";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user