Closed premasagar closed 11 years ago
Methods which accept a function:
children parent parents parentsSvg root viewport viewports owner owners firstChild lastChild siblings nextSiblings prevSiblings next prev each map sort select every some on off one oneEach template
Also indexOf / lastIndexOf (an alias of indexOf)
Note that all the traversal methods use the same main traverse function, and the insertion method use the same insert function, so that might simplify testing.
Premasagar Rose, Dharmafly http://dharmafly.com dharmafly.com / 07941 192398 premasagar.com twitter.com/premasagar L4RP.com asyncjs.com
2fc8f75da187ef3b8fa9fb1b1f25c5592081ecf4
e.g. see tests for
some()
The default
this
should be tested in the callback function. For methods that accept an optionalcontext
argument, the success of the context object being applied should be tested.