removing trailing commas inside object
This commit is contained in:
Родитель
f74ccb9243
Коммит
6b9d0337a5
|
@ -2252,7 +2252,7 @@ function d3_scale_linearNice(dx) {
|
||||||
dx = Math.pow(10, Math.round(Math.log(dx) / Math.LN10) - 1);
|
dx = Math.pow(10, Math.round(Math.log(dx) / Math.LN10) - 1);
|
||||||
return {
|
return {
|
||||||
floor: function(x) { return Math.floor(x / dx) * dx; },
|
floor: function(x) { return Math.floor(x / dx) * dx; },
|
||||||
ceil: function(x) { return Math.ceil(x / dx) * dx; },
|
ceil: function(x) { return Math.ceil(x / dx) * dx; }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,7 @@ function d3_scale_linearNice(dx) {
|
||||||
dx = Math.pow(10, Math.round(Math.log(dx) / Math.LN10) - 1);
|
dx = Math.pow(10, Math.round(Math.log(dx) / Math.LN10) - 1);
|
||||||
return {
|
return {
|
||||||
floor: function(x) { return Math.floor(x / dx) * dx; },
|
floor: function(x) { return Math.floor(x / dx) * dx; },
|
||||||
ceil: function(x) { return Math.ceil(x / dx) * dx; },
|
ceil: function(x) { return Math.ceil(x / dx) * dx; }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче