www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 363321b7947088f3fa6b2a108a4fb90d3866a66b
parent 76a4ee314c31d1dbaa2f33b0c83eb5b08e7e35b7
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Fri,  7 Feb 2014 09:56:14 -0500

Merge branch 'issue667' into develop.  Issue #667.

Diffstat:
Munpacked/extensions/TeX/bbox.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/unpacked/extensions/TeX/bbox.js b/unpacked/extensions/TeX/bbox.js @@ -46,7 +46,7 @@ */ MathJax.Extension["TeX/bbox"] = { - version: "2.3" + version: "2.3.1" }; MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { @@ -61,7 +61,7 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { var bbox = this.GetBrackets(name,""), math = this.ParseArg(name); var parts = bbox.split(/,/), def, background, style; - for (var i in parts) { + for (var i = 0, m = parts.length; i < m; i++) { var part = parts[i].replace(/^\s+/,'').replace(/\s+$/,''); var match = part.match(/^(\.\d+|\d+(\.\d*)?)(pt|em|ex|mu|px|in|cm|mm)$/); if (match) {