consistent usage of arrow syntax instead of anonymous functions

This commit is contained in:
azivner
2017-10-09 18:53:11 -04:00
parent 49460dfb8a
commit ca87ff9215
15 changed files with 76 additions and 95 deletions

View File

@@ -46,7 +46,7 @@ function uint8ToBase64(u8Arr) {
}
function base64ToUint8Array(base64encoded) {
return new Uint8Array(atob(base64encoded).split("").map(function(c) { return c.charCodeAt(0); }));
return new Uint8Array(atob(base64encoded).split("").map(c => c.charCodeAt(0)));
}
function getDateFromTS(timestamp) {