From 67325e338ac7d2def8743581b8cbbc4d7cb327bd Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Tue, 7 Nov 2017 23:57:50 -0500 Subject: upgrade to mathjax 2.7.2 --- htdocs/js/MathJax-2.7.0/extensions/MatchWebFonts.js | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 htdocs/js/MathJax-2.7.0/extensions/MatchWebFonts.js (limited to 'htdocs/js/MathJax-2.7.0/extensions/MatchWebFonts.js') diff --git a/htdocs/js/MathJax-2.7.0/extensions/MatchWebFonts.js b/htdocs/js/MathJax-2.7.0/extensions/MatchWebFonts.js deleted file mode 100644 index 5143c75..0000000 --- a/htdocs/js/MathJax-2.7.0/extensions/MatchWebFonts.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * /MathJax/extensions/MatchWebFonts.js - * - * Copyright (c) 2009-2016 The MathJax Consortium - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -(function(c,b){var d="2.7.0";var a=MathJax.Hub.CombineConfig("MatchWebFonts",{matchFor:{"HTML-CSS":true,NativeMML:true,SVG:true},fontCheckDelay:500,fontCheckTimeout:15*1000,});MathJax.Extension.MatchWebFonts={version:d,config:a};c.Register.StartupHook("HTML-CSS Jax Ready",function(){var e=MathJax.OutputJax["HTML-CSS"];var f=e.postTranslate;e.Augment({postTranslate:function(h,g){if(!g&&a.matchFor["HTML-CSS"]&&this.config.matchFontHeight){b.timer.start(b,["checkFonts",this,h.jax[this.id]],a.fontCheckDelay,a.fontCheckTimeout)}return f.apply(this,arguments)},checkFonts:function(k,o){if(k.time(function(){})){return}var s=[],p,l,g=false;for(p=0,l=o.length;p1?z/h:1);C=Math.floor(Math.max(this.config.minScaleAdjust/100,C)*this.config.scale);if(C/100!==g.scale){o.push([v.style,C])}g.scale=C/100;g.fontScale=C+"%";g.ex=z;g.mex=h}if("scrollWidth" in g&&(r||g.scrollWidth!==k.firstChild.scrollWidth)){g.scrollWidth=k.firstChild.scrollWidth;t.push([k.parentNode.style,g.scrollWidth/g.ex/g.scale])}if(k.MathJaxMtds){for(var u=0,p=k.MathJaxMtds.length;u