public/assets/materialize/scrollFire-51d8aca762cd14871dbf39aad2bc0213e799f1aa314e75c267fdfd92cfd87e0e.js
Function scrollFire
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Materialize.scrollFire = function(options) {
var didScroll = false;
window.addEventListener("scroll", function() {
Avoid deeply nested control flow statements. Open
Open
if (value.done !== true) {
if (typeof(callback) === 'function') {
callback.call(this, currentElement);
} else if (typeof(callback) === 'string') {
var callbackFunc = new Function(callback);