app/assets/javascripts/lina/abn_tree_directive.js in lina-0.0.1 vs app/assets/javascripts/lina/abn_tree_directive.js in lina-0.0.2
- old
+ new
@@ -138,11 +138,11 @@
for_each_branch(function(b, level) {
if (!b.uid) {
return b.uid = "" + Math.random();
}
});
- console.log('UIDs are set.');
+ //console.log('UIDs are set.');
for_each_branch(function(b) {
var child, _i, _len, _ref, _results;
if (angular.isArray(b.children)) {
_ref = b.children;
_results = [];
@@ -239,10 +239,10 @@
});
}
});
}
n = scope.treeData.length;
- console.log('num root branches = ' + n);
+ //console.log('num root branches = ' + n);
for_each_branch(function(b, level) {
b.level = level;
return b.expanded = b.level < expand_level;
});
if (scope.treeControl != null) {