www

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

commit 3a5a0a6910597ad57d81010eb81ed90298e2aaac
parent caa965d23db217e4c5913d5207b41c843bc1dbc5
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Wed, 20 Mar 2013 13:58:48 -0400

Remove commented code and add comment for change to Ex().  Issue #383.

Diffstat:
Munpacked/jax/output/SVG/jax.js | 9+--------
1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/unpacked/jax/output/SVG/jax.js b/unpacked/jax/output/SVG/jax.js @@ -414,15 +414,8 @@ if (Math.abs(m) < .0006) {return "0em"} return m.toFixed(3).replace(/\.?0+$/,"") + "em"; }, - /* - * Ex: function (m) { - * m = m / this.TeX.x_height; - * if (Math.abs(m) < .0006) {return "0ex"} - * return m.toFixed(3).replace(/\.?0+$/,"") + "ex"; - * }, - */ Ex: function (m) { - m = Math.round(m / this.TeX.x_height * this.ex) / this.ex; + m = Math.round(m / this.TeX.x_height * this.ex) / this.ex; // try to use closest pixel size if (Math.abs(m) < .0006) {return "0ex"} return m.toFixed(3).replace(/\.?0+$/,"") + "ex"; },