natural sort - implicitly declared variables

natural sort - implicitly declared variables

mkoryakmkoryak Posts: 14Questions: 0Answers: 0
edited August 2012 in Plug-ins
found on the sort examples page here:
http://datatables.net/plug-ins/sorting

the natural sort example has implicit globals:

oFxNcL = !(xN[cLoc] || '').match(ore) && parseFloat(xN[cLoc]) || xN[cLoc] || 0;
oFyNcL = !(yN[cLoc] || '').match(ore) && parseFloat(yN[cLoc]) || yN[cLoc] || 0;

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Agreed - thanks for letting us know about this. I've just committed a fix ( https://github.com/DataTables/Plugins/commit/74567b268a879620abb3822ed93f70fd121bb39c ) and the site is now up-to-date.

    Allan
This discussion has been closed.