JSCS cleanup

This commit is contained in:
Rob Garrison 2016-03-01 20:42:45 -06:00
parent 50656376c3
commit 7d326a6975

View File

@ -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'
});