Showing 2,136 of 3,976 total issues
Function animateClass
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.animateClass = function( value, duration, easing, callback ) {
var o = $.speed( duration, easing, callback );
return this.queue( function() {
var animated = $( this ),
Function animateClass
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.animateClass = function( value, duration, easing, callback ) {
var o = $.speed( duration, easing, callback );
return this.queue( function() {
var animated = $( this ),
Function animateClass
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.animateClass = function( value, duration, easing, callback ) {
var o = $.speed( duration, easing, callback );
return this.queue( function() {
var animated = $( this ),
Function prepareElementRoot
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function prepareElementRoot() {
P.$root.
on({
Function validate
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
DatePicker.prototype.validate = function( type, dateObject, options ) {
var calendar = this,
// Keep a reference to the original date.
Consider simplifying this complex logical expression. Open
Open
if ( !options || !options.nav ) if (
/* 1 */ ( !isFlippedBase && calendar.disabled( dateObject ) ) ||
/* 2 */ ( isFlippedBase && calendar.disabled( dateObject ) && ( hasEnabledWeekdays || hasEnabledBeforeTarget || hasEnabledAfterTarget ) ) ||
/* 3 */ ( !isFlippedBase && (dateObject.pick <= minLimitObject.pick || dateObject.pick >= maxLimitObject.pick) )
) {
Function _exit
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_exit: function( callback ) {
fullscreen.active = false;
var inBrowser = !self._options.trueFullscreen || !_nativeFullscreen.support,
Function onKeyDown
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
onKeyDown = function(e){
// TAB - switch to another input
if(e.which == 9){
$newSelect.trigger('close');
return;
Function prepareElementRoot
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function prepareElementRoot() {
P.$root.
on({
Consider simplifying this complex logical expression. Open
Open
if ( !options || !options.nav ) if (
/* 1 */ ( !isFlippedBase && calendar.disabled( dateObject ) ) ||
/* 2 */ ( isFlippedBase && calendar.disabled( dateObject ) && ( hasEnabledWeekdays || hasEnabledBeforeTarget || hasEnabledAfterTarget ) ) ||
/* 3 */ ( !isFlippedBase && (dateObject.pick <= minLimitObject.pick || dateObject.pick >= maxLimitObject.pick) )
) {
Function validate
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
DatePicker.prototype.validate = function( type, dateObject, options ) {
var calendar = this,
// Keep a reference to the original date.
Function onKeyDown
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
onKeyDown = function(e){
// TAB - switch to another input
if(e.which == 9){
$newSelect.trigger('close');
return;
Function animateClass
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.animateClass = function( value, duration, easing, callback ) {
var o = $.speed( duration, easing, callback );
return this.queue( function() {
var animated = $( this ),
Function _makeResizable
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_makeResizable: function() {
var that = this,
options = this.options,
handles = options.resizable,
// .ui-resizable has position: relative defined in the stylesheet
Function buildViewSpec
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
buildViewSpec: function(requestedViewType) {
var viewOverrides = this.overrides.views || {};
var specChain = []; // for the view. lowest to highest priority
var defaultsChain = []; // for the view. lowest to highest priority
var overridesChain = []; // for the view. lowest to highest priority
Function internalRemoveData
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function internalRemoveData( elem, name, pvt ) {
if ( !acceptData( elem ) ) {
return;
}
Function SpyStrategy
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getJasmineRequireObj().SpyStrategy = function(j$) {
function SpyStrategy(options) {
options = options || {};
Function configFromStringAndFormat
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function configFromStringAndFormat(config) {
// TODO: Move this to another part of the creation flow to prevent circular deps
if (config._f === utils_hooks__hooks.ISO_8601) {
configFromISO(config);
return;
Function item
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
item: function( rowCounter ) {
// If Monday is the first day and the month starts on Sunday, shift the date back a week.
var shiftDateBy = settings.firstDay && calendar.create([ viewsetObject.year, viewsetObject.month, 1 ]).day === 0 ? -7 : 0
Function _setOption
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_setOption: function( key, value ) {
var isDraggable, isResizable,
uiDialog = this.uiDialog;
if ( key === "dialogClass" ) {