|
525
|
1 |
Tree Change History |
|
|
2 |
=================== |
|
|
3 |
|
|
|
4 |
3.10.3 |
|
|
5 |
------ |
|
|
6 |
|
|
|
7 |
* No changes. |
|
|
8 |
|
|
|
9 |
3.10.2 |
|
|
10 |
------ |
|
|
11 |
|
|
|
12 |
* No changes. |
|
|
13 |
|
|
|
14 |
3.10.1 |
|
|
15 |
------ |
|
|
16 |
|
|
|
17 |
* No changes. |
|
|
18 |
|
|
|
19 |
3.10.0 |
|
|
20 |
------ |
|
|
21 |
|
|
|
22 |
* Added `Tree#findNode()` and `Tree.Node#find()` methods, which pass the |
|
|
23 |
specified node and each of its descendants to a callback function and returns |
|
|
24 |
the first node for which the callback returns a truthy value. [Ryan Grove] |
|
|
25 |
|
|
|
26 |
* Added `Tree#traverseNode()` and `Tree.Node#traverse()` methods, which pass the |
|
|
27 |
specified node and each of its descendants to a callback function in |
|
|
28 |
depth-first order. [Ryan Grove] |
|
|
29 |
|
|
|
30 |
* Added a `Tree.Sortable` extension, which can be mixed into any Tree class to |
|
|
31 |
provide customizable sorting logic for nodes. [Ryan Grove] |
|
|
32 |
|
|
|
33 |
* Fixed: The number returned by `Tree#size()` didn't include the root node. |
|
|
34 |
[Ryan Grove] |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
3.9.1 |
|
|
38 |
----- |
|
|
39 |
|
|
|
40 |
* Added a `src` option to all methods that trigger events. This value is passed |
|
|
41 |
along to the event facade of the resulting event, and can be used to |
|
|
42 |
distinguish between changes caused by different sources (such as |
|
|
43 |
user-initiated changes vs. programmatic changes). [Ryan Grove] |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
3.9.0 |
|
|
47 |
----- |
|
|
48 |
|
|
|
49 |
* Initial release. [Ryan Grove] |