Showing 2,136 of 3,976 total issues
Function to
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
spaces.hsla.to = function( rgba ) {
if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {
return [ null, null, null, rgba[ 3 ] ];
}
var r = rgba[ 0 ] / 255,
Function _determineButtonType
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_determineButtonType: function() {
var ancestor, labelSelector, checked;
if ( this.element.is("[type=checkbox]") ) {
this.type = "checkbox";
Function to
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
spaces.hsla.to = function( rgba ) {
if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {
return [ null, null, null, rgba[ 3 ] ];
}
var r = rgba[ 0 ] / 255,
Function to
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
spaces.hsla.to = function( rgba ) {
if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {
return [ null, null, null, rgba[ 3 ] ];
}
var r = rgba[ 0 ] / 255,
Function to
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
spaces.hsla.to = function( rgba ) {
if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {
return [ null, null, null, rgba[ 3 ] ];
}
var r = rgba[ 0 ] / 255,
Function to
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
spaces.hsla.to = function( rgba ) {
if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {
return [ null, null, null, rgba[ 3 ] ];
}
var r = rgba[ 0 ] / 255,
Function to
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
spaces.hsla.to = function( rgba ) {
if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {
return [ null, null, null, rgba[ 3 ] ];
}
var r = rgba[ 0 ] / 255,
Function to
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
spaces.hsla.to = function( rgba ) {
if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {
return [ null, null, null, rgba[ 3 ] ];
}
var r = rgba[ 0 ] / 255,
Function to
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
spaces.hsla.to = function( rgba ) {
if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {
return [ null, null, null, rgba[ 3 ] ];
}
var r = rgba[ 0 ] / 255,
Function to
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
spaces.hsla.to = function( rgba ) {
if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {
return [ null, null, null, rgba[ 3 ] ];
}
var r = rgba[ 0 ] / 255,
Function to
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
spaces.hsla.to = function( rgba ) {
if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {
return [ null, null, null, rgba[ 3 ] ];
}
var r = rgba[ 0 ] / 255,
Function to
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
spaces.hsla.to = function( rgba ) {
if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {
return [ null, null, null, rgba[ 3 ] ];
}
var r = rgba[ 0 ] / 255,
Function rescale
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
rescale: function(event) {
// calculate
var width = M.min( $win.width()-40, lightbox.width ),
height = M.min( $win.height()-60, lightbox.height ),
Function navigate
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
DatePicker.prototype.navigate = function( type, value, options ) {
var targetDateObject,
targetYear,
targetMonth,
Function bindControls
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
bindControls: function() {
var i;
carousel.next.on( 'click:fast', function(e) {
Function navigate
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
DatePicker.prototype.navigate = function( type, value, options ) {
var targetDateObject,
targetYear,
targetMonth,
Function start
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function start ( event, data ) {
var d = document.documentElement;
// Mark the handle as 'active' so it can be styled.
Function _createButtons
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createButtons: function() {
var that = this,
buttons = this.options.buttons;
// if we already have a button pane, remove it
Function to
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
spaces.hsla.to = function( rgba ) {
if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {
return [ null, null, null, rgba[ 3 ] ];
}
var r = rgba[ 0 ] / 255,
Function _determineButtonType
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_determineButtonType: function() {
var ancestor, labelSelector, checked;
if ( this.element.is("[type=checkbox]") ) {
this.type = "checkbox";