From 4ba1aab2658a0be829ef11afdc090f9a57b3d8af Mon Sep 17 00:00:00 2001 From: nobody Date: Sat, 27 Nov 2021 06:51:03 +0100 Subject: [PATCH] MathJax TeX-AMS_HTML.js -> TeX-AMS_HTML-full.js (#784) --- core/constants.js | 1 + core/request-analyzer.js | 3 +++ pages/updates/updates.html | 1 + 3 files changed, 5 insertions(+) diff --git a/core/constants.js b/core/constants.js index ac8c5603..bc1ebf8e 100644 --- a/core/constants.js +++ b/core/constants.js @@ -336,6 +336,7 @@ const IgnoredHost = { const MathJaxFiles = { 'config/default.js': true, 'config/MML_HTMLorMML.js': true, + 'config/TeX-AMS_HTML.js': true, 'config/TeX-AMS_HTML-full.js': true, 'config/TeX-AMS-MML_HTMLorMML.js': true, 'config/TeX-MML-AM_CHTML.js': true, diff --git a/core/request-analyzer.js b/core/request-analyzer.js index 1bc73f6a..4e03b5ac 100644 --- a/core/request-analyzer.js +++ b/core/request-analyzer.js @@ -184,6 +184,9 @@ requestAnalyzer._findLocalTarget = function (resourceMappings, basePath, channel log.append(initiator, channelHost + channelPath, '-', true); break; } + if (filename === 'config/TeX-AMS_HTML.js') { + filename = 'config/TeX-AMS_HTML-full.js'; + } } targetPath = (filename.endsWith('.js')) ? `${targetPath + filename}m` : targetPath + filename; targetPath = helpers.formatFilename(targetPath); diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 027f047f..185af492 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -60,6 +60,7 @@
  • i18n: Persian
  • i18n: Vietnamese
  • ember.js v4.0.0 (#781)
  • +
  • MathJax TeX-AMS_HTML.js -> TeX-AMS_HTML-full.js (#784)
  • Fixed