mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-19 12:52:11 +01:00
Fix: A couple of little jslint tidy ups
This commit is contained in:
parent
99b674def8
commit
97386476c8
6
media/js/jquery.dataTables.js
vendored
6
media/js/jquery.dataTables.js
vendored
@ -721,7 +721,7 @@
|
||||
function ( sData )
|
||||
{
|
||||
/* Allow zero length strings as a number */
|
||||
if ( typeof sData == 'number' || sData == null )
|
||||
if ( typeof sData == 'number' || sData === null )
|
||||
{
|
||||
return 'numeric';
|
||||
}
|
||||
@ -4507,7 +4507,7 @@
|
||||
{
|
||||
return sData.replace(/\n/g," ");
|
||||
}
|
||||
else if ( sData == null )
|
||||
else if ( sData === null )
|
||||
{
|
||||
return '';
|
||||
}
|
||||
@ -5629,7 +5629,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
iTotal += parseInt(oSettings.aoColumns[i].sWidth.replace('px','')) +
|
||||
iTotal += parseInt(oSettings.aoColumns[i].sWidth.replace('px',''), 10) +
|
||||
($(oNodes[iCorrector]).outerWidth() - $(oNodes[iCorrector]).width());
|
||||
}
|
||||
iCorrector++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user