Showing 3,976 of 3,976 total issues
Function setHandle
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setHandle ( handle, to, noLimitOption ) {
var trigger = handle !== scope_Handles[0] ? 1 : 0,
lowerMargin = scope_Locations[0] + options.margin,
upperMargin = scope_Locations[1] - options.margin,
Function release
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function release(e) {
if (pressed) {
pressed = false;
} else {
return;
Function addMarking
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function addMarking ( spread, filterFunc, formatter ) {
var style = ['horizontal', 'vertical'][options.ort],
element = document.createElement('div');
Function release
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function release(e) {
if (pressed) {
pressed = false;
} else {
return;
Function throttle
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function throttle(func, wait, options) {
var context, args, result;
var timeout = null;
var previous = 0;
options || (options = {});
Function top
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
top: function( position, data ) {
var within = data.within,
withinOffset = within.isWindow ? within.scrollTop : within.offset.top,
outerHeight = data.within.height,
collisionPosTop = position.top - data.collisionPosition.marginTop,
Function left
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
left: function( position, data ) {
var within = data.within,
withinOffset = within.isWindow ? within.scrollLeft : within.offset.left,
outerWidth = within.width,
collisionPosLeft = position.left - data.collisionPosition.marginLeft,
Function _updateVirtualBoundaries
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_updateVirtualBoundaries: function(forceAspectRatio) {
var pMinWidth, pMaxWidth, pMinHeight, pMaxHeight, b,
o = this.options;
b = {
Function _setOption
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_setOption: function( key, value ) {
if ( key === "active" ) {
// _activate() will handle invalid values and update this.options
this._activate( value );
return;
Function refresh
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
refresh: function() {
//See #8237 & #8828
var isDisabled = this.element.is( "input, button" ) ? this.element.is( ":disabled" ) : this.element.hasClass( "ui-button-disabled" );
if ( isDisabled !== this.options.disabled ) {
Function getDimensions
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getDimensions( elem ) {
var raw = elem[0];
if ( raw.nodeType === 9 ) {
return {
width: elem.width(),
Function _setupHeightStyle
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_setupHeightStyle: function( heightStyle ) {
var maxHeight,
parent = this.element.parent();
if ( heightStyle === "fill" ) {
Function hitOver
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
hitOver: function(hit, isOrig, origHit) {
var dragHelperEls;
// starting hit could be forced (DayGrid.limit)
if (seg.hit) {
Function sliceRangeByRow
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
sliceRangeByRow: function(range) {
var daysPerRow = this.daysPerRow;
var normalRange = this.view.computeDayRange(range); // make whole-day range, considering nextDayThreshold
var rangeFirst = this.getDateDayIndex(normalRange.start); // inclusive first index
var rangeLast = this.getDateDayIndex(normalRange.end.clone().subtract(1, 'days')); // inclusive last index
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 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 display
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
display: function() {
var
title = settings.name + ':',
totalTime = 0
;
Function legacyPushPage
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
legacyPushPage: function(callback) {
var
distance = $module.width(),
direction = module.get.direction(),
properties = {}