Fix var problems identified by YUI.

This commit is contained in:
Davide P. Cervone 2015-02-20 09:47:47 -05:00
parent 705f738228
commit 6286c63239

View File

@ -739,7 +739,7 @@
// Reveal this chunk of math // Reveal this chunk of math
// //
for (i = state.HTMLCSSlast, m = state.HTMLCSSeqn; i < m; i++) { for (i = state.HTMLCSSlast, m = state.HTMLCSSeqn; i < m; i++) {
var script = scripts[i]; script = scripts[i];
if (script && script.MathJax.elementJax) { if (script && script.MathJax.elementJax) {
// //
// Finish the math with its measured size (toHTML phase III) // Finish the math with its measured size (toHTML phase III)
@ -756,7 +756,6 @@
// Remove the processed marker // Remove the processed marker
// //
script.previousSibling.className = script.previousSibling.className.split(/ /)[0]; script.previousSibling.className = script.previousSibling.className.split(/ /)[0];
var data = script.MathJax.elementJax.HTMLCSS;
// //
// Remove the preview, if any // Remove the preview, if any
// //