This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git


The following commit(s) were added to refs/heads/master by this push:
     new ad9c57301 Remove polyfill script
ad9c57301 is described below

commit ad9c573012c290db4e9ddc180ac939ea924db4e9
Author: Alex Herbert <aherb...@apache.org>
AuthorDate: Wed Jun 26 07:20:24 2024 +0100

    Remove polyfill script
---
 pom.xml           | 9 ++++-----
 src/site/site.xml | 3 +--
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/pom.xml b/pom.xml
index 1129abb6c..126f1e5cd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -59,8 +59,7 @@
     <commons.encoding>UTF-8</commons.encoding>
     <maven.compiler.source>1.8</maven.compiler.source>
     <maven.compiler.target>1.8</maven.compiler.target>
-    <!-- MathJax configuration also includes the prerequisite polyfill.min.js 
script.
-         See the maven-javadoc-plugin plugin. -->
+    <!-- MathJax configuration. See the maven-javadoc-plugin plugin. -->
     
<math.mathjax.url>https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js</math.mathjax.url>
     <math.commons.numbers.version>1.1</math.commons.numbers.version>
     <math.commons.rng.version>1.5</math.commons.rng.version>
@@ -372,7 +371,7 @@
           <links combine.self="override">
           </links>
           <!--  Enable MathJax -->
-          <additionalOptions>${doclint.javadoc.qualifier} 
${allowscript.javadoc.qualifier} -header '&lt;script 
src="https://polyfill.io/v3/polyfill.min.js?features=es6"&gt;&lt;/script&gt;&lt;script
 type="text/javascript" async 
src="${math.mathjax.url}"&gt;&lt;/script&gt;'</additionalOptions>
+          <additionalOptions>${doclint.javadoc.qualifier} 
${allowscript.javadoc.qualifier} -header '&lt;script type="text/javascript" 
async src="${math.mathjax.url}"&gt;&lt;/script&gt;'</additionalOptions>
         </configuration>
       </plugin>
       <plugin>
@@ -500,7 +499,7 @@
           <links combine.self="override">
           </links>
           <!--  Enable MathJax -->
-          <additionalOptions>${doclint.javadoc.qualifier} 
${allowscript.javadoc.qualifier} -header '&lt;script 
src="https://polyfill.io/v3/polyfill.min.js?features=es6"&gt;&lt;/script&gt;&lt;script
 type="text/javascript" async 
src="${math.mathjax.url}"&gt;&lt;/script&gt;'</additionalOptions>
+          <additionalOptions>${doclint.javadoc.qualifier} 
${allowscript.javadoc.qualifier} -header '&lt;script type="text/javascript" 
async src="${math.mathjax.url}"&gt;&lt;/script&gt;'</additionalOptions>
         </configuration>
       </plugin>
     </plugins>
@@ -522,7 +521,7 @@
     </profile>
     <profile>
       <!-- Runs if the SVN site checkout does not exist.
-           This is either obtained using svn (for the parent) or an empty 
directory is created. 
+           This is either obtained using svn (for the parent) or an empty 
directory is created.
            The site-content directory is used when updating the live site. -->
       <id>site-checkout</id>
       <build>
diff --git a/src/site/site.xml b/src/site/site.xml
index 27624650b..9b01d4738 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -24,8 +24,7 @@
 
   <body>
     <head>
-      <![CDATA[<script 
src="https://polyfill.io/v3/polyfill.min.js?features=es6";></script>
-<script id="MathJax-script" async 
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js";></script>]]>
+      <![CDATA[<script id="MathJax-script" async 
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js";></script>]]>
     </head>
 
     <menu name="Math">

Reply via email to