update profilepage
This commit is contained in:
@@ -25,6 +25,14 @@ export function getAddressShortName(address) {
|
||||
return addressBegin + "..." + addressEnd;
|
||||
}
|
||||
|
||||
|
||||
export function numberWithCommas(x) {
|
||||
x = x.toString();
|
||||
var pattern = /(-?\d+)(\d{3})/;
|
||||
while (pattern.test(x)) x = x.replace(pattern, "$1,$2");
|
||||
return x;
|
||||
}
|
||||
|
||||
export function getblocky(address) {
|
||||
var blockiesData = blockies
|
||||
.create({
|
||||
|
||||
Reference in New Issue
Block a user