site/web/app/themes/smart-city/resources/assets/scripts/routes/home.js
Function finalize
has 108 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
finalize() {
let is_logo_animating = false;
// JavaScript to be fired on the home page
$(document).scroll(function() {
if($(this).scrollTop() >= $('#svg2').position().top - $('#svg2').height()){
Function animate_logo
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function animate_logo() {
let timeline = anime.timeline();
timeline
.add({