From cb13a059bbb4d302e11163200106f78595538326 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Mon, 9 Feb 2015 16:16:30 -0500 Subject: [PATCH] Localize a variable that was accidentally global. Resolves problem 2 of #1050. --- unpacked/jax/output/NativeMML/jax.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unpacked/jax/output/NativeMML/jax.js b/unpacked/jax/output/NativeMML/jax.js index a8c3eafbf..63d8e2e84 100644 --- a/unpacked/jax/output/NativeMML/jax.js +++ b/unpacked/jax/output/NativeMML/jax.js @@ -1249,7 +1249,7 @@ // Some browsers do not implement the mmultiscripts element. // Try to emulate the support using basic script elements. // - if (!nMML.mmultiscriptsBug || this.data.length === 0 ) { + if (!nMML.mmultiscriptsBug || this.data.length === 0) { this.SUPER(arguments).toNativeMML.call(this,parent); return; } @@ -1267,7 +1267,7 @@ // if (this.data[0]) {this.data[0].toNativeMML(tag)} else {tag.appendChild(this.NativeMMLelement("mrow"))} - base = tag.removeChild(tag.lastChild); + var base = tag.removeChild(tag.lastChild); // // Process the postscript pairs