Open dmarzo opened 12 years ago
Fix (apply recursively)
me.preprocessData = function(root) {
var me = this, maxNodes = me.config.maxNodesPerLevel; if (maxNodes) { if (maxNodes < root.children.length) { .... } for (index in root.children) { var child = root.children[index]; me.preprocessData(child); } } };
Fix (apply recursively)
me.preprocessData = function(root) {