fix: restore keys ternary yet again (?)
commitdaacfc066362b528e8c99ad7dcfffa23591fe3ed
authorMatt Condon (shrugs) <mattgcondon@gmail.com>
dateTue 11 Jun 2019, 12:06 (7 years ago)
parentb7e6d6f
src/bridge/lib/keys.js+8−1
@@ -21,7 +21,14 @@ const b64 = buf => {
2121
2222 // prettier-ignore
2323 const trans = j =>
24− 10 > j ? j + 48 : 36 > j ? j + 87 : 62 > j ? j + 29 : 62 === j ? 45 : 126;
24+ 10 > j ? j + 48
25+ : 36 > j
26+ ? j + 87
27+ : 62 > j
28+ ? j + 29
29+ : 62 === j
30+ ? 45
31+ : 126;
2532
2633 return (
2734 '0w' +