commit cb13a059bbb4d302e11163200106f78595538326
parent 8c9fc2122bff6b0825642f50119d2d02b01fecf0
Author: Davide P. Cervone <dpvc@union.edu>
Date: Mon, 9 Feb 2015 16:16:30 -0500
Localize a variable that was accidentally global. Resolves problem 2 of #1050.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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