use sub-resource integrity on loaded script

This commit is contained in:
Asif Bacchus 2020-04-10 05:10:37 -06:00
parent b9b052ef54
commit 1692fcc309

View File

@ -17,8 +17,9 @@
<canvas id="particles"></canvas> <canvas id="particles"></canvas>
<!-- javascript --> <!-- javascript -->
<script <script
src="js/particles.min.js" src="js/ab-particles.min.js"
crossorigin="anonymous" crossorigin="anonymous"
integrity="sha384-WE9gimBuooBzrStBvRiYtcJRbIJGpARa/QAm1RGrS1cmRugNWXLydu4NxNRKgMQj"
async> async>
</script> </script>
<!-- end javascript --> <!-- end javascript -->