mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 18:15:55 +00:00
get modernizer from cdn
This commit is contained in:
1 parent
49545292ae
commit
436f1c3d38
2 files changed
+1
-8
No files matched your search
@@ -74,13 +74,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://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">
|
||||
<condition><not>
|
||||
<checksum file="build/website/js/modernizr.min.js" algorithm="SHA-384" property="6cf577980d9ea3779da2ae7a57370f0661b537541551f8d833154824f3f3c85272159f0615f37b369b74e99af6deab6c" verifyproperty="modernizr.ok" />
|
||||
</not></condition>
|
||||
</fail>
|
||||
|
||||
<get src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.min.js" dest="build/website/js/bootstrap.min.js" usetimestamp="true" />
|
||||
<fail message="bootstrap checksum failed">
|
||||
<condition><not>
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
<title>${title}</title>
|
||||
|
||||
<script src="/js/modernizr.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js" integrity="sha512-3n19xznO0ubPpSwYCRRBgHh63DrV+bdZfHK52b1esvId4GsfwStQNPJFjeQos2h3JwCmZl0/LgLxSKMAI55hgw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||
|
||||
<link href="/css/bootstrap.css" rel="stylesheet" />
|
||||
<link href="/css/font-awesome.min.css" rel="stylesheet" />
|
||||
|
||||
Reference in new issue
Block a user