Showing 246 of 804 total issues
Function calculations
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
calculations: function() {
var
$popupOffsetParent = module.get.offsetParent($popup),
targetElement = $target[0],
isWindow = ($boundary[0] == window),
Function handleKeyboard
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
handleKeyboard: function(event) {
var
// force selector refresh
$result = $module.find(selector.result),
$category = $module.find(selector.category),
Function setupInPageLinks
has 73 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setupInPageLinks() {
function getPagePosition () {
return {
x: (window.pageXOffset !== undefined) ? window.pageXOffset : document.documentElement.scrollLeft,
Function urlData
has 70 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
urlData: function(url, urlData) {
var
requiredVariables,
optionalVariables
;
Function setupBodyMutationObserver
has 70 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setupBodyMutationObserver() {
function addImageLoadListners(mutation) {
function addImageLoadListener(element) {
if (false === element.complete) {
log('Attach listeners to ' + element.src);
Function selected
has 69 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
selected: function(value, $selectedItem) {
var
isMultiple = module.is.multiple(),
$userSelectedItem
;
Function inlineCSS
has 69 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
inlineCSS: function() {
var
width = module.cache.width || $module.outerWidth(),
height = module.cache.height || $module.outerHeight(),
isRTL = module.is.rtl(),
Function parser
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function parser(file, callback) {
// file exit conditions
if(file.isNull()) {
return callback(null, file); // pass along
}
Function mouseEvents
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
mouseEvents: function() {
module.verbose('Binding mouse events');
if(module.is.multiple()) {
$module
.on('click' + eventNamespace, selector.label, module.event.label.click)
Function open
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
open: function(query) {
var
$activeTitle = (query !== undefined)
? (typeof query === 'number')
? $title.eq(query)
Function filter
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
filter: function(query) {
var
searchTerm = (query !== undefined)
? query
: module.get.query(),
File create.js
has 269 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*******************************
Create Component Repos
*******************************/
/*
Function values
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
values: function (fields) {
var
$fields = $.isArray(fields)
? module.get.fields(fields)
: $field,
Function closeOthers
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
closeOthers: function(index) {
var
$activeTitle = (index !== undefined)
? $title.eq(index)
: $(this).closest(selector.title),
Function setupPublicMethods
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setupPublicMethods() {
log('Enable public methods');
win.parentIFrame = {
Function transition
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
transition: function(forced) {
var
animation = settings.animation,
transitionExists = module.get.transitionExists(animation),
displayType = module.get.displayType(false),
Function filterItems
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
filterItems: function(query) {
var
searchTerm = (query !== undefined)
? query
: module.get.query(),
Function close
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
close: function(query) {
var
$activeTitle = (query !== undefined)
? (typeof query === 'number')
? $title.eq(query)
Function field
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
field: function(field, fieldName, showErrors) {
showErrors = (showErrors !== undefined)
? showErrors
: true
;
Function showModal
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
showModal: function(callback) {
callback = $.isFunction(callback)
? callback
: function(){}
;