forked from 0x2620/oxjs
fix use of Ox.map, Ox.loop
This commit is contained in:
parent
9a7e86dceb
commit
f97352ee61
6 changed files with 10 additions and 10 deletions
|
|
@ -81,7 +81,7 @@
|
|||
Ox.encodeBase32 = function(num) {
|
||||
return Ox.map(num.toString(32), function(char) {
|
||||
return Ox.BASE_32_DIGITS[parseInt(char, 32)];
|
||||
}).join('');
|
||||
});
|
||||
};
|
||||
|
||||
/*@
|
||||
|
|
@ -100,7 +100,7 @@
|
|||
Ox.BASE_32_ALIASES[char] || char
|
||||
);
|
||||
return (index == -1 ? ' ' : index).toString(32);
|
||||
}).join(''), 32);
|
||||
}), 32);
|
||||
};
|
||||
|
||||
/*@
|
||||
|
|
@ -347,7 +347,7 @@
|
|||
+ String.fromCharCode(code & 63 | 128);
|
||||
}
|
||||
return str;
|
||||
}).join('');
|
||||
});
|
||||
};
|
||||
|
||||
/*@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue