Skip to content

Commit 964f7b4

Browse files
committed
Fix var issues (noted by YUI compression)
1 parent 737fbc0 commit 964f7b4

File tree

1 file changed

+4
-4
lines changed
  • unpacked/jax/input/AsciiMath

1 file changed

+4
-4
lines changed

unpacked/jax/input/AsciiMath/jax.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ THE SOFTWARE.
232232

233233
//(function(){
234234
var mathcolor = "blue"; // change it to "" (to inherit) or another color
235-
var mathfontsize = "1em"; // change to e.g. 1.2em for larger math
235+
//var mathfontsize = "1em"; // change to e.g. 1.2em for larger math
236236
var mathfontfamily = "serif"; // change to "" to inherit (works in IE)
237237
// or another family (e.g. "arial")
238238
//var automathrecognize = false; // writing "amath" on page makes this true
@@ -251,9 +251,9 @@ var fixphi = true; //false to return to legacy phi/varphi mapping
251251
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
252252

253253
var isIE = (navigator.appName.slice(0,9)=="Microsoft");
254+
/*
254255
var noMathML = false, translated = false;
255256
256-
/*
257257
if (isIE) { // add MathPlayer info to IE webpages
258258
document.write("<object id=\"mathplayer\"\
259259
classid=\"clsid:32F66A20-7614-11D4-BD11-00104BD3F987\"></object>");
@@ -402,8 +402,8 @@ var AMbbb = [0xEF8C,0xEF8D,0x2102,0xEF8E,0xEF8F,0xEF90,0xEF91,0x210D,0xEF92,0xEF
402402

403403
var CONST = 0, UNARY = 1, BINARY = 2, INFIX = 3, LEFTBRACKET = 4,
404404
RIGHTBRACKET = 5, SPACE = 6, UNDEROVER = 7, DEFINITION = 8,
405-
LEFTRIGHT = 9, TEXT = 10, BIG = 11, LONG = 12, STRETCHY = 13,
406-
MATRIX = 14, UNARYUNDEROVER = 15; // token types
405+
LEFTRIGHT = 9, TEXT = 10, /*BIG = 11, LONG = 12, STRETCHY = 13,
406+
MATRIX = 14,*/ UNARYUNDEROVER = 15; // token types
407407

408408
var AMquote = {input:"\"", tag:"mtext", output:"mbox", tex:null, ttype:TEXT};
409409

0 commit comments

Comments
 (0)