diff options
author | Roel Spilker <r.spilker@gmail.com> | 2022-01-27 13:38:50 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2022-01-27 14:44:29 +0100 |
commit | 49545292ae319eefa7e65e72c04b98d36d1e0193 (patch) | |
tree | ae76f18ea3ebef16bc2a2d08358a1d783d7b98c5 | |
parent | 5f3028343770e1658376c8506d9c94bc1d17c0b2 (diff) | |
download | lombok-49545292ae319eefa7e65e72c04b98d36d1e0193.tar.gz lombok-49545292ae319eefa7e65e72c04b98d36d1e0193.tar.bz2 lombok-49545292ae319eefa7e65e72c04b98d36d1e0193.zip |
use cdn jquery + update
-rw-r--r-- | buildScripts/website.ant.xml | 6 | ||||
-rw-r--r-- | website/templates/_scaffold.html | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/buildScripts/website.ant.xml b/buildScripts/website.ant.xml index f5956a45..7fbdbc16 100644 --- a/buildScripts/website.ant.xml +++ b/buildScripts/website.ant.xml @@ -73,12 +73,6 @@ such as applying the templates to produce the website, converting the changelog <target name="-website.clientdeps"> <mkdir dir="build/website/js" /> - <get src="https://code.jquery.com/jquery-3.3.1.min.js" dest="build/website/js/jquery.min.js" usetimestamp="true" /> - <fail message="jQuery checksum failed"> - <condition><not> - <checksum file="build/website/js/jquery.min.js" algorithm="SHA-384" property="b6c405aa91117aeed92e1055d9566502eef370e57ead76d8945d9ca81f2dc48ffc6996a38e9e01a9df95e83e4882f293" verifyproperty="jquery.ok" /> - </not></condition> - </fail> <get src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js" dest="build/website/js/modernizr.min.js" usetimestamp="true" /> <fail message="modernizr checksum failed"> diff --git a/website/templates/_scaffold.html b/website/templates/_scaffold.html index aaf00f57..98fac2a4 100644 --- a/website/templates/_scaffold.html +++ b/website/templates/_scaffold.html @@ -54,7 +54,7 @@ <link href="${ld?url_path}" rel="stylesheet" /> </#if> </#list> - <script src="/js/jquery.min.js"></script> + <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" integrity="sha512-894YE6QWD5I59HgZOGReFYm4dnWc1Qt5NtvYSaNcOP+u1T9qYdvdihz0PPSiiqn/+/3e7Jo4EaG7TubfWGUrMQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> <script src="/js/bootstrap.min.js"></script> <script src="/js/main.js"></script> <#list load as ld> |