public/javascripts/ao3modal.js
Function ao3modal
has 268 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
window.ao3modal = (function($) {
var _loading = false,
_bgDiv = $('<div>', {'id': 'modal-bg'}).addClass('modal-closer'),
_loadingDiv = $('<div>').addClass('loading'),
File ao3modal.js
has 272 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
THIS FILE GETS MINIFIED! It is included as "ao3modal.min.js".
USE A MINIFIER AND UPDATE THE .min.js FILE AFTER MAKING ANY CHANGES HERE!
Function _show
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _show(href, title) {
_modalDiv.hide();
_wrapDiv.show();
if ($.support.opacity) { _bgDiv.add(_loadingDiv).fadeIn(); }
else { _bgDiv.add(_loadingDiv).show(); }