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) { isDatasetVisible = helpers.isDatasetVisible = function(dataset) {
return !dataset.hidden; return !dataset.hidden;
}, },
pushAllIfDefined = helpers.pushAllIfDefined = function(element, array) { pushAllIfDefined = helpers.pushAllIfDefined = function(element, array) {
if (typeof element == "undefined") { if (typeof element == "undefined") {
return; return;
} }
if (isArray(element)) { if (isArray(element)) {
array.push.apply(array, element); array.push.apply(array, element);
} else { } else {
array.push(element); array.push(element);
} }
}; };
}).call(this); }).call(this);

View File

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