User:Cacycle/wikEd dev.js: Difference between revisions

Content deleted Content added
0.9.115alpha04
0.9.115alpha05
Line 4:
 
// version info
wikEd.programVersion = '0.9.115alpha04115alpha05';
wikEd.programDate = 'April 23, 2013';
 
Line 5,308:
// get MathJax
if ( (typeof(mw) == 'object') && (typeof(mw.loader) == 'object') && (typeof(mw.loader.using) == 'function') ) {
if (typeof(wikEd.previewBox.renderTeX) != 'function') {
WED('Load MathJax');
try WED('Load {MathJax');
try {
mw.loader.using('ext.math.mathjax.enabler', function () {
WED('Loaded MathJax');
if ( (typeof(wikEd.previewBox) == 'object') && (typeof(wikEd.previewBox.renderTeX) == 'function') ) {
wikEd.previewBox.renderTeX();
WED('renderTeX');
}
});
}
catch (error) {
}
}
}