mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-09 09:46:51 +01:00
Fix style issues in core and scales
This commit is contained in:
@@ -161,8 +161,8 @@ module.exports = function(Chart) {
|
||||
|
||||
// Function to fit a box
|
||||
function fitBox(box) {
|
||||
var minBoxSize = helpers.findNextWhere(minBoxSizes, function(minBoxSize) {
|
||||
return minBoxSize.box === box;
|
||||
var minBoxSize = helpers.findNextWhere(minBoxSizes, function(minBox) {
|
||||
return minBox.box === box;
|
||||
});
|
||||
|
||||
if (minBoxSize) {
|
||||
@@ -196,8 +196,8 @@ module.exports = function(Chart) {
|
||||
helpers.each(leftBoxes.concat(rightBoxes), finalFitVerticalBox);
|
||||
|
||||
function finalFitVerticalBox(box) {
|
||||
var minBoxSize = helpers.findNextWhere(minBoxSizes, function(minBoxSize) {
|
||||
return minBoxSize.box === box;
|
||||
var minBoxSize = helpers.findNextWhere(minBoxSizes, function(minSize) {
|
||||
return minSize.box === box;
|
||||
});
|
||||
|
||||
var scaleMargin = {
|
||||
|
||||
Reference in New Issue
Block a user