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);
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);