1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-11-29 11:24:10 +01:00

Fix numeric sorting pre-formatting method typo, picked up by the unit tests

This commit is contained in:
Allan Jardine 2011-12-03 09:56:46 +00:00
parent b135e9b676
commit 6205de54a4
2 changed files with 2 additions and 2 deletions

View File

@ -10062,7 +10062,7 @@
/*
* numerical sorting
*/
"numeric-asc": function ( a )
"numeric-pre": function ( a )
{
return (a=="-" || a==="") ? 0 : a*1;
},

View File

@ -67,7 +67,7 @@ $.extend( _oExt.oSort, {
/*
* numerical sorting
*/
"numeric-asc": function ( a )
"numeric-pre": function ( a )
{
return (a=="-" || a==="") ? 0 : a*1;
},