public/assets/materialize/carousel-5f77aa051ee2f35168c30e604c294173a3d9c9f19ac5b6dc0a3c9cf0ea39c697.js
Function init
has 330 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init : function(options) {
var defaults = {
time_constant: 200, // ms
dist: -100, // zoom scale TODO: make this more intuitive as an option
shift: 0, // spacing for center image
File carousel-5f77aa051ee2f35168c30e604c294173a3d9c9f19ac5b6dc0a3c9cf0ea39c697.js
has 354 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function ($) {
var methods = {
init : function(options) {
Function scroll
has 79 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function scroll(x) {
var i, half, delta, dir, tween, el, alignment, xTranslation;
offset = (typeof x === 'number') ? x : offset;
center = Math.floor((offset + dim / 2) / dim);
Function release
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function release(e) {
if (pressed) {
pressed = false;
} else {
return;