Skip to content

Commit

Permalink
Remove polyfill script
Browse files Browse the repository at this point in the history
  • Loading branch information
aherbert committed Jun 26, 2024
1 parent 5fc4a4a commit e85a6ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 3 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@
<maven.compiler.target>1.8</maven.compiler.target>
<rng.revapi.version>0.14.7</rng.revapi.version>
<rng.revapi.java.version>0.27.0</rng.revapi.java.version>
<!-- MathJax configuration also includes the prerequisite polyfill.min.js script.
See the maven-javadoc-plugin plugin. -->
<!-- MathJax configuration. See the maven-javadoc-plugin plugin. -->
<rng.mathjax.url>https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js</rng.mathjax.url>
<!-- Workaround to avoid duplicating config files. -->
<rng.parent.dir>${basedir}</rng.parent.dir>
Expand Down Expand Up @@ -352,7 +351,7 @@
</links>
<failOnWarnings>true</failOnWarnings>
<!-- 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="${rng.mathjax.url}"&gt;&lt;/script&gt;'</additionalOptions>
<additionalOptions>${doclint.javadoc.qualifier} ${allowscript.javadoc.qualifier} -header '&lt;script type="text/javascript" async src="${rng.mathjax.url}"&gt;&lt;/script&gt;'</additionalOptions>
<!-- Fix for JDK 11 javadoc search:
https://stackoverflow.com/questions/52326318/maven-javadoc-search-redirects-to-undefined-url -->
<bottom>
Expand Down Expand Up @@ -471,7 +470,7 @@
</links>
<failOnWarnings>true</failOnWarnings>
<!-- 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="${rng.mathjax.url}"&gt;&lt;/script&gt;'</additionalOptions>
<additionalOptions>${doclint.javadoc.qualifier} ${allowscript.javadoc.qualifier} -header '&lt;script type="text/javascript" async src="${rng.mathjax.url}"&gt;&lt;/script&gt;'</additionalOptions>
<!-- Fix for JDK 11 javadoc search:
https://stackoverflow.com/questions/52326318/maven-javadoc-search-redirects-to-undefined-url -->
<bottom>
Expand Down
3 changes: 1 addition & 2 deletions src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,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>

Expand Down

0 comments on commit e85a6ca

Please sign in to comment.