js/modal.js
Function animateIn
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
animateIn() {
// Set initial styles
$.extend(this.$el[0].style, {
display: 'block',
opacity: 0
Function animateOut
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
animateOut() {
// Animate overlay
Vel(
this.$overlay[0],
{ opacity: 0},