Showing 246 of 804 total issues
Function selectedLetter
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
selectedLetter: function(letter) {
var
$selectedItem = $item.filter('.' + className.selected),
alreadySelectedLetter = $selectedItem.length > 0 && module.has.firstLetter($selectedItem, letter),
$nextValue = false,
Function blur
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
blur: function(event) {
var
pageLostFocus = (document.activeElement === this),
callback = function() {
module.cancel.query();
Function left
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
left: function() {
var
height = {
active : $activeSide.outerWidth(true),
next : $nextSide.outerWidth(true)
Function stageSize
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
stageSize: function() {
var
$clone = $module.clone().addClass(className.loading),
$activeSide = $clone.find('.' + settings.className.active),
$nextSide = (nextIndex)
Function right
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
right: function() {
var
height = {
active : $activeSide.outerWidth(true),
next : $nextSide.outerWidth(true)
Function meteorTask
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
let meteorTask = function() {
console.info('Handling meteor release');
let
filenames = ''
;
Function fail
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
fail: function(xhr, status, httpMessage) {
var
// pull response from xhr if available
response = module.get.responseFromXHR(xhr),
errorMessage = module.get.errorFromRequest(response, status, httpMessage)
Function clear
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
clear: function() {
$field
.each(function () {
var
$field = $(this),
Function prompt
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
prompt: function(rule, field) {
var
ruleName = module.get.ruleName(rule),
ancillary = module.get.ancillaryValue(rule),
$field = module.get.field(field.identifier),
Function click
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
click: function (event, skipRefocus) {
var
$choice = $(this),
$target = (event)
? $(event.target)
Function generateResults
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
generateResults: function(response) {
module.debug('Generating html from response', response);
var
template = settings.templates[settings.type],
isProperObject = ($.isPlainObject(response[fields.results]) && !$.isEmptyObject(response[fields.results])),
Function display
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
display: function() {
var
title = settings.name + ':',
totalTime = 0
;
Function display
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
display: function() {
var
title = settings.name + ':',
totalTime = 0
;
Function done
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
done: function(response, textStatus, xhr) {
var
context = this,
elapsedTime = (new Date().getTime() - requestStartTime),
timeLeft = (settings.loadingDuration - elapsedTime),
Function display
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
display: function() {
var
title = settings.name + ':',
totalTime = 0
;
Function show
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
show: function(callback) {
callback = $.isFunction(callback)
? callback
: function(){}
;
Function determineTabs
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
determineTabs: function() {
var
$reference
;
Function hideResults
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
hideResults: function(callback) {
callback = $.isFunction(callback)
? callback
: function(){}
;
Function setting
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setting: function(setting, value, modules, modifyExisting) {
modules = (typeof modules === 'string')
? (modules === 'all')
? settings.modules
: [modules]
Function display
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
display: function() {
var
title = settings.name + ':',
totalTime = 0
;