Showing 246 of 804 total issues
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 hideResults
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
hideResults: function(callback) {
callback = $.isFunction(callback)
? callback
: function(){}
;
Function findTarget
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function findTarget(location) {
function jumpToTarget() {
var jumpPosition = getElementPosition(target);
log(iframeId,'Moving to in page link (#'+hash+') at x: '+jumpPosition.x+' y: '+jumpPosition.y);
Function form
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
form: function(event, ignoreCallbacks) {
var
values = module.get.values(),
apiRequest
;
Function onSuccess
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
onSuccess : function(response) {
if(settings.cacheType == 'response') {
module.cache.add(fullTabPath, response);
}
module.update.content(tabPath, response);
Function result
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
result: function(value, results) {
var
lookupFields = ['title', 'id'],
result = false
;
Function keydown
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
keydown: function(event) {
var
$field = $(this),
key = event.which,
isInput = $field.is(selector.input),
Function integer
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
integer: function(value, range) {
var
intRegExp = $.fn.form.settings.regExp.integer,
min,
max,
Function dimmerSettings
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
dimmerSettings: function() {
if($.fn.dimmer === undefined) {
module.error(error.dimmer);
return;
}
Function scrollRequestFromChild
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function scrollRequestFromChild(addOffset) {
/* istanbul ignore next */ //Not testable in Karma
function reposition() {
pagePosition = newPosition;
scrollTo();
Function percent
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
percent: function(percent) {
percent = (typeof percent == 'string')
? +(percent.replace('%', ''))
: percent
;
Function below
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
below: function() {
var
box = {
origin : (($activeSide.outerHeight(true) - $nextSide.outerHeight(true)) / 2),
depth : {
Function fuzzySearch
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
fuzzySearch: function(query, term) {
var
termLength = term.length,
queryLength = query.length
;
Function above
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
above: function() {
var
box = {
origin : (($activeSide.outerHeight(true) - $nextSide.outerHeight(true)) / 2),
depth : {
Function walk
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
walk = function(directory) {
var
pathArray = directory.split(path.sep),
folder = pathArray[pathArray.length - 1],
nextDirectory = path.join(directory, path.sep, '..')
Function display
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
display: function() {
var
title = settings.name + ':',
totalTime = 0
;
Function display
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
display: function() {
var
title = settings.name + ':',
totalTime = 0
;
Function text
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
text: function(text) {
if(settings.action !== 'select') {
if(settings.action == 'combo') {
module.debug('Changing combo button text', text, $combo);
if(settings.preserveHTML) {
Function display
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
display: function() {
var
title = settings.name + ':',
totalTime = 0
;