mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 07:34:22 +00:00
Fix globals in strict mode
I didn't really intend to make this strict yet, but since I did, better make it work Follow up to: I679246089ec485678088ff08f3a46d8b74a262c5 Change-Id: Ic6180b3188d46ce92e0547b0fbb6c333906c49f6
This commit is contained in:
parent
ea48a4442f
commit
e1343c3f87
|
@ -6,7 +6,7 @@
|
|||
'use strict';
|
||||
|
||||
if ( typeof mathJax === 'undefined' ) {
|
||||
mathJax = {};
|
||||
window.mathJax = {};
|
||||
}
|
||||
|
||||
mathJax.version = '0.2';
|
||||
|
@ -228,7 +228,7 @@
|
|||
}
|
||||
|
||||
// create the global MathJax variable to hook into MathJax startup
|
||||
MathJax = {
|
||||
window.MathJax = {
|
||||
delayStartupUntil: 'configured',
|
||||
AuthorInit: mathJax.Init
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue