Sha256: 8a29e5ee2e2f375dc4f71aeafefb2bfde64e18b8093fd27ce98ae618e6f69d0f
Contents?: true
Size: 486 Bytes
Versions: 22
Compression:
Stored size: 486 Bytes
Contents
jQuery.fn.dataTableExt.oSort['num-html-asc'] = function(a,b) { var x = a.replace( /<.*?>/g, "" ); var y = b.replace( /<.*?>/g, "" ); x = parseFloat( x ); y = parseFloat( y ); return ((x < y) ? -1 : ((x > y) ? 1 : 0)); }; jQuery.fn.dataTableExt.oSort['num-html-desc'] = function(a,b) { var x = a.replace( /<.*?>/g, "" ); var y = b.replace( /<.*?>/g, "" ); x = parseFloat( x ); y = parseFloat( y ); return ((x < y) ? 1 : ((x > y) ? -1 : 0)); };
Version data entries
22 entries across 22 versions & 2 rubygems