Added comments to Footer scripts

This commit is contained in:
tsmitty11 2023-06-02 14:18:40 +01:00
parent 2960dc8e94
commit d34ddca4be

View file

@ -1,15 +1,15 @@
<div id="myData"></div> <div id="myData"></div>
<script> <!-- Dynamic copyright date -->
<script>
const copyrightDate = new Date().getFullYear(); const copyrightDate = new Date().getFullYear();
document.getElementById('copyYear').innerHTML = copyrightDate; document.getElementById('copyYear').innerHTML = copyrightDate;
</script> </script>
<!-- JavaScript Bundle with Popper --> <!-- JavaScript Bundle with Popper, needed for Bootstrap -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"> integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous">
@ -26,6 +26,8 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
})(window, document, "clarity", "script", "c9ohlhyxzf"); })(window, document, "clarity", "script", "c9ohlhyxzf");
</script> </script>
<!-- Google Tag Manager -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Q3M5LVH76F"></script> <script async src="https://www.googletagmanager.com/gtag/js?id=G-Q3M5LVH76F"></script>
<script> <script>
window.dataLayer = window.dataLayer || []; window.dataLayer = window.dataLayer || [];
@ -38,11 +40,15 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
gtag('config', 'G-Q3M5LVH76F'); gtag('config', 'G-Q3M5LVH76F');
</script> </script>
<!-- Reddit Tracking -->
<script> <script>
rdt('track', 'SignUp'); rdt('track', 'SignUp');
rdt('track', 'ViewContent'); rdt('track', 'ViewContent');
</script> </script>
<!-- Script for toasts that pops up when clicking the copy button on package details pages -->
<script> <script>
const toastTrigger = document.getElementById('liveToastBtn') const toastTrigger = document.getElementById('liveToastBtn')
const toastLiveExample = document.getElementById('liveToast') const toastLiveExample = document.getElementById('liveToast')
@ -55,6 +61,8 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
} }
</script> </script>
<!-- Fetches Stargazers and Release number from GitHub -->
<script> <script>
$(document).ready(function() { $(document).ready(function() {
var repository = "teaxyz/cli"; var repository = "teaxyz/cli";