Set back correct `MAX_VISIBLE_CHILDS`
This commit is contained in:
parent
02ae08173b
commit
916c657e28
|
@ -42,7 +42,6 @@ Node.prototype.DEBOUNCE_INTERVAL = 150;
|
|||
|
||||
// number of visible childs rendered initially in large arrays/objects (with a "show more" button to show more)
|
||||
Node.prototype.MAX_VISIBLE_CHILDS = 100;
|
||||
Node.prototype.MAX_VISIBLE_CHILDS = 10; // FIXME: cleanup
|
||||
|
||||
// default value for the max visible childs of large arrays
|
||||
Node.prototype.visibleChilds = Node.prototype.MAX_VISIBLE_CHILDS;
|
||||
|
|
|
@ -55,10 +55,14 @@
|
|||
};
|
||||
|
||||
var json = {
|
||||
empty: [],
|
||||
numbers: [],
|
||||
abc: 123,
|
||||
array: [],
|
||||
object: { a: 2, b: 3}
|
||||
};
|
||||
for (var i = 0; i < 10000; i++) {
|
||||
json.numbers.push(i);
|
||||
json.array.push({
|
||||
name: 'Item ' + i,
|
||||
index: i,
|
||||
|
|
Loading…
Reference in New Issue