Fixed tab sizing in core.helpers.js

This commit is contained in:
Robert Becker 2016-02-05 09:43:20 +01:00
parent 098b05f1b2
commit 1692b977cd
2 changed files with 20 additions and 20 deletions

20
Chart.js vendored
View File

@ -973,16 +973,16 @@
isDatasetVisible = helpers.isDatasetVisible = function(dataset) {
return !dataset.hidden;
},
pushAllIfDefined = helpers.pushAllIfDefined = function(element, array) {
if (typeof element == "undefined") {
return;
}
if (isArray(element)) {
array.push.apply(array, element);
} else {
array.push(element);
}
pushAllIfDefined = helpers.pushAllIfDefined = function(element, array) {
if (typeof element == "undefined") {
return;
}
if (isArray(element)) {
array.push.apply(array, element);
} else {
array.push(element);
}
};
}).call(this);

View File

@ -844,15 +844,15 @@
isDatasetVisible = helpers.isDatasetVisible = function(dataset) {
return !dataset.hidden;
},
pushAllIfDefined = helpers.pushAllIfDefined = function(element, array) {
if (typeof element == "undefined") {
return;
}
if (isArray(element)) {
array.push.apply(array, element);
} else {
array.push(element);
}
pushAllIfDefined = helpers.pushAllIfDefined = function(element, array) {
if (typeof element == "undefined") {
return;
}
if (isArray(element)) {
array.push.apply(array, element);
} else {
array.push(element);
}
};
}).call(this);