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-geometry.git


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

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

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

diff --git a/pom.xml b/pom.xml
index 4929d018..f69b75b9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -59,8 +59,7 @@
         in the older "1.x" version format. -->
     
<maven.compiler.source>1.${commons.compiler.release}</maven.compiler.source>
     
<maven.compiler.target>1.${commons.compiler.release}</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. -->
     
<geometry.mathjax.url>https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js</geometry.mathjax.url>
     <!-- Workaround to avoid duplicating config files. -->
     <geometry.parent.dir>${basedir}</geometry.parent.dir>
@@ -312,7 +311,7 @@
         <artifactId>maven-javadoc-plugin</artifactId>
         <configuration>
           <!-- Enable MathJax -->
-          <additionalOptions>${doclint.javadoc.qualifier} 
--allow-script-in-comments -header '&lt;script 
src="https://polyfill.io/v3/polyfill.min.js?features=es6"&gt;&lt;/script&gt;&lt;script
 type="text/javascript" async 
src="${geometry.mathjax.url}"&gt;&lt;/script&gt;'</additionalOptions>
+          <additionalOptions>${doclint.javadoc.qualifier} 
--allow-script-in-comments -header '&lt;script type="text/javascript" async 
src="${geometry.mathjax.url}"&gt;&lt;/script&gt;'</additionalOptions>
           <links>
             
<link>https://commons.apache.org/proper/commons-numbers/commons-numbers-core/javadocs/api-${commons.numbers.version}/</link>
             
<link>https://commons.apache.org/proper/commons-numbers/commons-numbers-quaternion/javadocs/api-${commons.numbers.version}/</link>
@@ -430,7 +429,7 @@
         <artifactId>maven-javadoc-plugin</artifactId>
         <configuration>
           <!-- Enable MathJax -->
-          <additionalOptions>${doclint.javadoc.qualifier} 
--allow-script-in-comments -header '&lt;script 
src="https://polyfill.io/v3/polyfill.min.js?features=es6"&gt;&lt;/script&gt;&lt;script
 type="text/javascript" async 
src="${geometry.mathjax.url}"&gt;&lt;/script&gt;'</additionalOptions>
+          <additionalOptions>${doclint.javadoc.qualifier} 
--allow-script-in-comments -header '&lt;script type="text/javascript" async 
src="${geometry.mathjax.url}"&gt;&lt;/script&gt;'</additionalOptions>
           <links>
             
<link>https://commons.apache.org/proper/commons-numbers/commons-numbers-core/javadocs/api-${commons.numbers.version}/</link>
             
<link>https://commons.apache.org/proper/commons-numbers/commons-numbers-quaternion/javadocs/api-${commons.numbers.version}/</link>
diff --git a/src/site/site.xml b/src/site/site.xml
index 3c5f2c75..d12fb03a 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -31,8 +31,7 @@
   <body>
     <!-- Custom <head> tag with injected XHTML is supported. -->
     <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>]]>
 
      <!--
         Workaround to get styles for inline code elements. The current version

Reply via email to