removing trailing commas inside object

This commit is contained in:
vtstarin 2011-06-28 08:36:59 +09:30
Родитель f74ccb9243
Коммит 6b9d0337a5
2 изменённых файлов: 2 добавлений и 2 удалений

2
d3.js поставляемый
Просмотреть файл

@ -2252,7 +2252,7 @@ function d3_scale_linearNice(dx) {
dx = Math.pow(10, Math.round(Math.log(dx) / Math.LN10) - 1);
return {
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);
return {
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; }
};
}