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-numbers.git
The following commit(s) were added to refs/heads/master by this push: new 271e2343 Remove polyfill script 271e2343 is described below commit 271e23438eecd0efc35c28fea0fb1adbd6731d79 Author: Alex Herbert <aherb...@apache.org> AuthorDate: Wed Jun 26 07:21:02 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 9c49c8f7..7d699d8e 100644 --- a/pom.xml +++ b/pom.xml @@ -58,8 +58,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. --> <numbers.mathjax.url>https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js</numbers.mathjax.url> <!-- Workaround to avoid duplicating config files. --> <numbers.parent.dir>${basedir}</numbers.parent.dir> @@ -320,7 +319,7 @@ </links> <failOnWarnings>true</failOnWarnings> <!-- Enable MathJax --> - <additionalOptions>${doclint.javadoc.qualifier} ${allowscript.javadoc.qualifier} -header '<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script><script type="text/javascript" async src="${numbers.mathjax.url}"></script>'</additionalOptions> + <additionalOptions>${doclint.javadoc.qualifier} ${allowscript.javadoc.qualifier} -header '<script type="text/javascript" async src="${numbers.mathjax.url}"></script>'</additionalOptions> <!-- Fix for javadoc search: https://stackoverflow.com/questions/52326318/maven-javadoc-search-redirects-to-undefined-url --> <bottom> @@ -457,7 +456,7 @@ </links> <failOnWarnings>true</failOnWarnings> <!-- Enable MathJax --> - <additionalOptions>${doclint.javadoc.qualifier} ${allowscript.javadoc.qualifier} -header '<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script><script type="text/javascript" async src="${numbers.mathjax.url}"></script>'</additionalOptions> + <additionalOptions>${doclint.javadoc.qualifier} ${allowscript.javadoc.qualifier} -header '<script type="text/javascript" async src="${numbers.mathjax.url}"></script>'</additionalOptions> <!-- Fix for javadoc search: https://stackoverflow.com/questions/52326318/maven-javadoc-search-redirects-to-undefined-url --> <bottom> diff --git a/src/site/site.xml b/src/site/site.xml index 4e536b74..f82e0197 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> <link rel="stylesheet" href="$relativePath/style/module.css" type="text/css" />]]> </head>