www

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

commit beff612f5343abfb59ec684631337ba39429f0b5
parent be28147f2db96cdfb80fa04596713a265a5408fd
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Mon, 24 Sep 2012 20:19:11 -0400

Use web-fonts by default for unknown browsers.  Addresses issue #317.

Diffstat:
Munpacked/MathJax.js | 5++++-
Munpacked/jax/output/HTML-CSS/jax.js | 3++-
2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/unpacked/MathJax.js b/unpacked/MathJax.js @@ -2334,9 +2334,12 @@ MathJax.Hub.Startup = { isMac: (navigator.platform.substr(0,3) === "Mac"), isPC: (navigator.platform.substr(0,3) === "Win"), isMSIE: (window.ActiveXObject != null && window.clipboardData != null), - isFirefox: (window.netscape != null && document.ATTRIBUTE_NODE != null && !window.opera), +/* + isFirefox: ((window.netscape != null || window.mozPaintCount != null) && + document.ATTRIBUTE_NODE != null && !window.opera), isSafari: (navigator.userAgent.match(/ (Apple)?WebKit\//) != null && (!window.chrome || window.chrome.loadTimes == null)), +*/ isChrome: (window.chrome != null && window.chrome.loadTimes != null), isOpera: (window.opera != null && window.opera.version != null), isKonqueror: (window.hasOwnProperty && window.hasOwnProperty("konqueror") && navigator.vendor == "KDE"), diff --git a/unpacked/jax/output/HTML-CSS/jax.js b/unpacked/jax/output/HTML-CSS/jax.js @@ -292,8 +292,9 @@ hideProcessedMath: true, // use display:none until all math is processed - Font: null, // created by Config() below + Font: null, // created by Config() below webFontDefault: "MathJax_Blank", + allowWebFonts: "otf", // assume browser can use OTF web fonts Config: function () { if (!this.require) {this.require = []}