70// vanilla tilt.js
71
72/* ===== SCROLL REVEAL ANIMATION ===== */
73const srtop = ScrollReveal({ 74 origin: 'bottom',
75 distance: '80px',
76 duration: 1000,
64 projectsContainer.innerHTML = projectsHTML;
65
66// vanilla tilt.js
67VanillaTilt.init(document.querySelectorAll(".tilt"), { 68 max: 20,
69});
70// vanilla tilt.js
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";
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');
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){
Variables that aren't defined, but accessed may throw reference errors at runtime.
NOTE: In browser applications, DeepSource recommends the use of ESModules over regular
text/javascript
scripts. Using variables that are injected by scripts included in an HTML file is currently not supported.
Potential ReferenceError
s may result from misspellings of variable and parameter names, or accidental implicit globals (for example, forgetting the var
keyword in a for
loop initializer).
Any reference to an undeclared variable causes a warning, unless the variable is explicitly mentioned in a /*global ...*/
comment, or specified in the globals key in the configuration file.
A common use case for these is if you intentionally use globals that are defined elsewhere (e.g. in a script sourced from HTML).
const foo = someFunction(); // `someFunction` is not defined
const bar = baz + 1; // 'baz' is undeclared
import { someFunction } from 'some-file';
const baz = Math.random();
const foo = someFunction();
const bar = baz + 1;