Skip to content

Commit

Permalink
Added tests for children()
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Sep 19, 2006
1 parent b5a3345 commit ca5b83c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/jquery/jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -3031,6 +3031,8 @@ jQuery.macros = {
* @before <p>Hello</p><div><span>Hello Again</span></div><p>And Again</p>
* @result [ <span>Hello Again</span> ]
*
* @test isSet( $("#foo").children().get(), q("sndp", "en", "sap"), "Check for children" );
*
* @name children
* @type jQuery
* @cat DOM/Traversing
Expand All @@ -3044,6 +3046,8 @@ jQuery.macros = {
* @before <div><span>Hello</span><p class="selected">Hello Again</p><p>And Again</p></div>
* @result [ <p class="selected">Hello Again</p> ]
*
* @test isSet( $("#foo").children("[code]").get(), q("sndp", "sap"), "Check for filtered children" );
*
* @name children
* @type jQuery
* @param String expr An expression to filter the child Elements with
Expand Down

0 comments on commit ca5b83c

Please sign in to comment.