Merge c073e8b009
into 62943f9ca1
This commit is contained in:
commit
b9655da777
File diff suppressed because one or more lines are too long
@ -39,6 +39,9 @@
|
|||||||
function prettyPrefix(prefixes, step, d) {
|
function prettyPrefix(prefixes, step, d) {
|
||||||
var prefix = 0;
|
var prefix = 0;
|
||||||
|
|
||||||
|
if (d === undefined)
|
||||||
|
return "- ";
|
||||||
|
|
||||||
while (d > step && prefix < prefixes.length - 1) {
|
while (d > step && prefix < prefixes.length - 1) {
|
||||||
d /= step;
|
d /= step;
|
||||||
prefix++;
|
prefix++;
|
||||||
|
Loading…
Reference in New Issue
Block a user