1
0
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:
Allan Jardine 2011-05-12 20:37:35 +01:00
parent 99b674def8
commit 97386476c8

View File

@ -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++;