-
Martijn Pieters authored
- Refactor tree method to allow callback function (set with setStateFunction) to influence node state. - hasChildren now stores the result of getChildren in a local cache, which getChildren uses and clears on a subsequent call. This was needed to avoid generating the children list for open nodes twice. - hasChildren now flattens its return value to a boolean; tree relies on this.
4c615b75