Added `childBy*` methods to `DOM/Traverse`
authorAlexander Ebert <ebert@woltlab.com>
Sat, 30 May 2015 19:19:42 +0000 (21:19 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 30 May 2015 19:19:42 +0000 (21:19 +0200)
commitfa033f4fcfaa295e1903464449f67d2dff5a98b4
tree1b7bc7b91135cbde0b85d8f002ea6e8017211db5
parent3b88c9ada57148194beafbdbc4d5105a5e25dd83
Added `childBy*` methods to `DOM/Traverse`

The already existing `childrenBy*` methods are great, but searching for the first matching child yields rather much code. The new `childBy*` methods behave similar to the result of `querySelector()`.
wcfsetup/install/files/js/WoltLab/WCF/DOM/Traverse.js