Skip to content

Commit

Permalink
removing trailing commas inside object
Browse files Browse the repository at this point in the history
  • Loading branch information
vthiagu committed Jun 27, 2011
1 parent f74ccb9 commit 6b9d033
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion d3.js
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
};
}

Expand Down
2 changes: 1 addition & 1 deletion src/scale/linear.js
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
};
}

Expand Down

0 comments on commit 6b9d033

Please sign in to comment.