Comma seperate comment scores

This commit is contained in:
Omar Roth 2018-10-20 13:52:06 -05:00
parent 3c634d9f66
commit 3ee7201f5d
3 changed files with 10 additions and 10 deletions

View file

@ -28,13 +28,6 @@ function swap_comments(source) {
}
}
function commaSeparateNumber(val) {
while (/(\d+)(\d{3})/.test(val.toString())) {
val = val.toString().replace(/(\d+)(\d{3})/, "$1" + "," + "$2");
}
return val;
}
String.prototype.supplant = function(o) {
return this.replace(/{([^{}]*)}/g, function(a, b) {
var r = o[b];