git.wincent.com
/
hextrapolate.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5558ab2
)
Fix whitespace lint
author
Greg Hurrell <greg@hurrell.net>
Tue, 4 Aug 2015 06:10:44 +0000
(23:10 -0700)
committer
Greg Hurrell <greg@hurrell.net>
Tue, 4 Aug 2015 06:10:44 +0000
(23:10 -0700)
src/joinDigits.js
patch
|
blob
|
history
diff --git
a/src/joinDigits.js
b/src/joinDigits.js
index 83d8d975a839f46a51b64a02d50f7736bfc0d765..d7824766c50c92aed0200de0cc4ace3d45e09aa4 100644
(file)
--- a/
src/joinDigits.js
+++ b/
src/joinDigits.js
@@
-10,7
+10,7
@@
import DIGITS from './DIGITS';
function encode(number: string, base: number) {
- if (base > 36 && base <=62) {
+ if (base > 36 && base <=
62) {
return DIGITS[number - 1];
} else {
return number.toString(base);