Added tests for children()
This commit is contained in:
parent
b5a33456e3
commit
ca5b83c5c9
4
src/jquery/jquery.js
vendored
4
src/jquery/jquery.js
vendored
|
@ -3031,6 +3031,8 @@ jQuery.macros = {
|
||||||
* @before <p>Hello</p><div><span>Hello Again</span></div><p>And Again</p>
|
* @before <p>Hello</p><div><span>Hello Again</span></div><p>And Again</p>
|
||||||
* @result [ <span>Hello Again</span> ]
|
* @result [ <span>Hello Again</span> ]
|
||||||
*
|
*
|
||||||
|
* @test isSet( $("#foo").children().get(), q("sndp", "en", "sap"), "Check for children" );
|
||||||
|
*
|
||||||
* @name children
|
* @name children
|
||||||
* @type jQuery
|
* @type jQuery
|
||||||
* @cat DOM/Traversing
|
* @cat DOM/Traversing
|
||||||
|
@ -3044,6 +3046,8 @@ jQuery.macros = {
|
||||||
* @before <div><span>Hello</span><p class="selected">Hello Again</p><p>And Again</p></div>
|
* @before <div><span>Hello</span><p class="selected">Hello Again</p><p>And Again</p></div>
|
||||||
* @result [ <p class="selected">Hello Again</p> ]
|
* @result [ <p class="selected">Hello Again</p> ]
|
||||||
*
|
*
|
||||||
|
* @test isSet( $("#foo").children("[code]").get(), q("sndp", "sap"), "Check for filtered children" );
|
||||||
|
*
|
||||||
* @name children
|
* @name children
|
||||||
* @type jQuery
|
* @type jQuery
|
||||||
* @param String expr An expression to filter the child Elements with
|
* @param String expr An expression to filter the child Elements with
|
||||||
|
|
Loading…
Reference in a new issue