Showing 246 of 804 total issues
Function invoke
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
invoke: function(query, passedArguments, context) {
var
object = instance,
maxDepth,
found,
Function invoke
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
invoke: function(query, passedArguments, context) {
var
object = instance,
maxDepth,
found,
Function invoke
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
invoke: function(query, passedArguments, context) {
var
object = instance,
maxDepth,
found,
Function invoke
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
invoke: function(query, passedArguments, context) {
var
object = instance,
maxDepth,
found,
Function invoke
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
invoke: function(query, passedArguments, context) {
var
object = instance,
maxDepth,
found,
Function invoke
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
invoke: function(query, passedArguments, context) {
var
object = instance,
maxDepth,
found,
Function invoke
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
invoke: function(query, passedArguments, context) {
var
object = instance,
maxDepth,
found,
Function invoke
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
invoke: function(query, passedArguments, context) {
var
object = instance,
maxDepth,
found,
Function invoke
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
invoke: function(query, passedArguments, context) {
var
object = instance,
maxDepth,
found,
Function object
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
object: function(searchTerm, source, searchFields) {
var
results = [],
exactResults = [],
fuzzyResults = [],
Function addDerivedValues
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
addDerivedValues: function(config) {
config = config || extend(false, {}, defaults);
/*--------------
Function show
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
show: function(callback, $subMenu) {
var
$currentMenu = $subMenu || $menu,
start = ($subMenu)
? function() {}
Function hide
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
hide: function(callback, $subMenu) {
var
$currentMenu = $subMenu || $menu,
duration = ($subMenu)
? (settings.duration * 0.9)
Function scrollPage
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
scrollPage: function(direction, $selectedItem) {
var
$currentItem = $selectedItem || module.get.selectedItem(),
$menu = $currentItem.closest(selector.menu),
menuHeight = $menu.outerHeight(),
Function userSuggestion
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
userSuggestion: function(value) {
var
$addition = $menu.children(selector.addition),
$existingItem = module.get.item(value),
alreadyHasValue = $existingItem && $existingItem.not(selector.addition).length,
Function selectValues
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
selectValues: function() {
var
select = {}
;
select.values = [];
Function select
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
select: function() {
var
selectValues = module.get.selectValues()
;
module.debug('Dropdown initialized on a select', selectValues);
Function openDownward
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
openDownward: function($subMenu) {
var
$currentMenu = $subMenu || $menu,
canOpenDownward = true,
onScreen = {},
Function createJSON
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
createJSON: function(answers) {
var
json = {
paths: {
source: {},
Function queryRemote
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
queryRemote: function(query, callback) {
var
apiSettings = {
errorDuration : false,
cache : 'local',