mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
JSCS cleanup
This commit is contained in:
parent
50656376c3
commit
7d326a6975
@ -13,7 +13,7 @@
|
||||
format : function( str ) {
|
||||
// add commas every 12 digits; Number.MAX_SAFE_INTEGER is 16 digits long
|
||||
// regex modified from: http://stackoverflow.com/a/2901298/145346
|
||||
return str.replace(/\B(?=(\d{12})+(?!\d))/g, ",");
|
||||
return str.replace(/\B(?=(\d{12})+(?!\d))/g, ',');
|
||||
},
|
||||
type : 'text'
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user