mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-18 11:52:11 +01:00
Fix: Couple of little jslint found issues
This commit is contained in:
parent
cc1908baaf
commit
53908784fe
6
media/js/jquery.dataTables.js
vendored
6
media/js/jquery.dataTables.js
vendored
@ -2691,7 +2691,7 @@
|
||||
{
|
||||
/* Attempt to auto detect the type - same as _fnGatherData() */
|
||||
var sVarType = _fnGetCellData( oSettings, iRow, i, 'type' );
|
||||
if ( sVarType != '' )
|
||||
if ( sVarType !== '' )
|
||||
{
|
||||
sThisType = _fnDetectType( sVarType );
|
||||
if ( oCol.sType === null )
|
||||
@ -2882,7 +2882,7 @@
|
||||
bRender = typeof oSettings.aoColumns[iColumn].fnRender == 'function',
|
||||
bClass = oSettings.aoColumns[iColumn].sClass !== null,
|
||||
bVisible = oSettings.aoColumns[iColumn].bVisible,
|
||||
nCell, sThisType, sRendered;
|
||||
nCell, sThisType, sRendered, sValType;
|
||||
|
||||
/* A single loop to rule them all (and be more efficient) */
|
||||
if ( bAutoType || bRender || bClass || !bVisible )
|
||||
@ -2895,7 +2895,7 @@
|
||||
if ( bAutoType && oSettings.aoColumns[iColumn].sType != 'string' )
|
||||
{
|
||||
sValType = _fnGetCellData( oSettings, iRow, iColumn, 'type' );
|
||||
if ( sValType != '' )
|
||||
if ( sValType !== '' )
|
||||
{
|
||||
sThisType = _fnDetectType( sValType );
|
||||
if ( oSettings.aoColumns[iColumn].sType === null )
|
||||
|
Loading…
x
Reference in New Issue
Block a user