Showing 100 of 130 total issues
Avoid deeply nested control flow statements. Open
Open
else if ( typeof aTargets[j] === 'number' && aTargets[j] < 0 )
{
/* Negative integer, right to left column counting */
fn( columns.length+aTargets[j], def );
}
Avoid deeply nested control flow statements. Open
Open
for ( k=0 ; k<iRowspan ; k++ )
{
aApplied[i+k][j+iColspan] = 1;
}
Avoid deeply nested control flow statements. Open
Open
if ( fomatters[ column.sType ] ) {
cellData = fomatters[ column.sType ]( cellData );
}
Avoid deeply nested control flow statements. Open
Open
if ( ! detectedType && j !== types.length-1 ) {
break;
}
Avoid deeply nested control flow statements. Open
Open
while( columns.length <= aTargets[j] )
{
_fnAddColumn( oSettings );
}
Avoid deeply nested control flow statements. Open
Open
for ( j=0, jen=items.length ; j<jen ; j++ ) {
item = items[j];
if ( type === 'cell' ) {
ret = fn.call( apiInst, context[i], item.row, item.column, i, j );
Avoid deeply nested control flow statements. Open
Open
if ( s( o, _fnGetCellData(settings, row, j), host.anCells ? host.anCells[j] : null ) ) {
a.push( o );
}
Function _fnReduce
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function _fnReduce ( that, fn, init, start, end, inc )
Avoid deeply nested control flow statements. Open
Open
if ( cache[k] === undefined ) {
cache[k] = _fnGetCellData( settings, k, i, 'type' );
}
Avoid deeply nested control flow statements. Open
Open
if ( cellData === null ) {
cellData = '';
}
Function _fnFilter
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function _fnFilter( settings, input, force, regex, smart, caseInsensitive )
Function _
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_: function ( settings, host, idx, buttons, page, pages ) {
Avoid deeply nested control flow statements. Open
Open
if ( arrayNotation )
{
// Array notation
a[i] = a[i].replace(__reArray, '');
Avoid deeply nested control flow statements. Open
Open
for ( var j=0, jLen=val.length ; j<jLen ; j++ )
{
o = {};
setData( o, val[j], innerSrc );
data[ a[i] ].push( o );
Avoid deeply nested control flow statements. Open
Open
if ( search == 'none' ) {
a.push( i );
}
else { // applied | removed
tmp = $.inArray( i, displayFiltered );
Avoid deeply nested control flow statements. Open
Open
if ( typeof cellData !== 'string' && cellData.toString ) {
cellData = cellData.toString();
}
Avoid deeply nested control flow statements. Open
Open
if ( data === null || data[ a[i] ] === undefined )
{
return undefined;
}
Avoid deeply nested control flow statements. Open
Open
if ( type === 'column-rows' ) {
rows = _selector_row_indexes( context[i], selector.opts );
}
Function fnFilter
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
this.fnFilter = function( sInput, iColumn, bRegex, bSmart, bShowGlobal, bCaseInsensitive )
Consider simplifying this complex logical expression. Open
Open
if ( create || ((!nTrIn || oCol.mRender || oCol.mData !== i) &&
(!$.isPlainObject(oCol.mData) || oCol.mData._ !== i+'.display')
)) {
nTd.innerHTML = _fnGetCellData( oSettings, iRow, i, 'display' );
}