willtheorangeguy / willtheorangeguy.github.io

Found the usage of undeclared variables JS-0125
Bug risk
8 months ago8 months old
'ScrollReveal' is not defined
 70// vanilla tilt.js  
 71
 72/* ===== SCROLL REVEAL ANIMATION ===== */
 73const srtop = ScrollReveal({ 74    origin: 'bottom',
 75    distance: '80px',
 76    duration: 1000,
'VanillaTilt' is not defined
 64    projectsContainer.innerHTML = projectsHTML;
 65
 66// vanilla tilt.js
 67VanillaTilt.init(document.querySelectorAll(".tilt"), { 68    max: 20,
 69});
 70// vanilla tilt.js  
'$' is not defined To fix this, add jquery in environment array of .deepsource.toml. Read more in our documentation https://deepsource.io/docs/analyzer/javascript
 21function(){
 22    if(document.visibilityState === "visible"){
 23        document.title = "Projects | Portfolio Saurav Mukherjee";
 24        $("#favicon").attr("href","/assests/images/favicon.png"); 25    }
 26    else {
 27        document.title = "Come Back To Portfolio";
'$' is not defined To fix this, add jquery in environment array of .deepsource.toml. Read more in our documentation https://deepsource.io/docs/analyzer/javascript
  7
  8    $(window).on('scroll load',function(){
  9        $('#menu').removeClass('fa-times');
 10        $('.navbar').removeClass('nav-toggle'); 11
 12        if(window.scrollY>60){
 13            document.querySelector('#scroll-top').classList.add('active');
'$' is not defined To fix this, add jquery in environment array of .deepsource.toml. Read more in our documentation https://deepsource.io/docs/analyzer/javascript
  6    });
  7
  8    $(window).on('scroll load',function(){
  9        $('#menu').removeClass('fa-times'); 10        $('.navbar').removeClass('nav-toggle');
 11
 12        if(window.scrollY>60){