Showing 3,976 of 3,976 total issues
Function style
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
style: function( elem, name, value, extra ) {
// Don't set styles on text and comment nodes
if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
return;
Function toggleClass
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
toggleClass: function( value, stateVal ) {
var type = typeof value;
if ( typeof stateVal === "boolean" && type === "string" ) {
return stateVal ? this.addClass( value ) : this.removeClass( value );
Function when
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
when: function( subordinate /* , ..., subordinateN */ ) {
var i = 0,
resolveValues = slice.call( arguments ),
length = resolveValues.length,
Function ajaxHandleResponses
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ajaxHandleResponses( s, jqXHR, responses ) {
var firstDataType, ct, finalDataType, type,
contents = s.contents,
dataTypes = s.dataTypes;
Function configFromArray
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function configFromArray (config) {
var i, date, input = [], currentDate, yearToUse;
if (config._d) {
return;
Function buildExpectationResult
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function buildExpectationResult(options) {
var messageFormatter = options.messageFormatter || function() {},
stackFormatter = options.stackFormatter || function() {};
var result = {
Function configFromArray
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function configFromArray (config) {
var i, date, input = [], currentDate, yearToUse;
if (config._d) {
return;
Function createMonthLabel
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
createMonthLabel = function(override) {
var monthsCollection = settings.showMonthsShort ? settings.monthsShort : settings.monthsFull
// Materialize modified
Function drag
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
drag: function( draggable, event ) {
// If you have a highly dynamic page, you might try this option. It renders positions every time you move the mouse.
if ( draggable.options.refreshPositions ) {
$.ui.ddmanager.prepareOffsets( draggable, event );
Function _possibleChars
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_possibleChars: function (format) {
var iFormat,
chars = "",
literal = false,
// Check whether a format character is doubled
Function drop
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
return $.effects.effect.drop = function( o, done ) {
var el = $( this ),
props = [ "position", "top", "bottom", "left", "right", "opacity", "height", "width" ],
mode = $.effects.setMode( el, o.mode || "hide" ),
Function drop
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
return $.effects.effect.drop = function( o, done ) {
var el = $( this ),
props = [ "position", "top", "bottom", "left", "right", "opacity", "height", "width" ],
mode = $.effects.setMode( el, o.mode || "hide" ),
Function createMonthLabel
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
createMonthLabel = function(override) {
var monthsCollection = settings.showMonthsShort ? settings.monthsShort : settings.monthsFull
// Materialize modified
Function createMonthLabel
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
createMonthLabel = function(override) {
var monthsCollection = settings.showMonthsShort ? settings.monthsShort : settings.monthsFull
// Materialize modified
Function _possibleChars
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_possibleChars: function (format) {
var iFormat,
chars = "",
literal = false,
// Check whether a format character is doubled
Function drag
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
drag: function( draggable, event ) {
// If you have a highly dynamic page, you might try this option. It renders positions every time you move the mouse.
if ( draggable.options.refreshPositions ) {
$.ui.ddmanager.prepareOffsets( draggable, event );
Function drop
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var effectDrop = $.effects.effect.drop = function( o, done ) {
var el = $( this ),
props = [ "position", "top", "bottom", "left", "right", "opacity", "height", "width" ],
mode = $.effects.setMode( el, o.mode || "hide" ),
Function dispatch
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
dispatch: function( event ) {
// Make a writable jQuery.Event from the native event object
event = jQuery.event.fix( event );
Function fgSegHtml
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
fgSegHtml: function(seg) {
var view = this.view;
var classes = [ 'fc-list-item' ].concat(this.getSegCustomClasses(seg));
var bgColor = this.getSegBackgroundColor(seg);
var event = seg.event;
Function mightThrow
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
mightThrow = function() {
var returned, then;
// Support: Promises/A+ section 2.3.3.3.3
// https://promisesaplus.com/#point-59