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:
Derk-Jan Hartman 2014-04-07 12:30:01 +02:00
parent ea48a4442f
commit e1343c3f87

View file

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