X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=c4ed21b95ce8ece5b58f340f8dc9ee2f0fbc198c;hb=f153dec20c7827c7ec5016f24c85e999950bc33c;hp=9b9cfa4e06c8273bb672d91def87760918ce1a88;hpb=da74bde0b7ab66cee11c7e6542ee29579da53948;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 9b9cfa4..c4ed21b 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -1631,6 +1631,9 @@ jQuery.extend({ * @test t( "Is Visible", "input:visible", ["text1","text2","radio1","radio2","check1","check2","name"] ); * @test t( "Is Hidden", "input:hidden", ["hidden1","hidden2"] ); * + * @test t( "All Children of ID", "#foo/*", ["sndp", "en", "sap"] ); + * @test t( "All Children of ID with no children", "#firstUL/*", [] ); + * * @name $.find * @type Array * @private @@ -2916,6 +2919,8 @@ jQuery.macros = { * @before

Hello

Hello Again

And Again

* @result [

Hello

,

And Again

] * + * @test isSet( $("#en").siblings().get(), q("sndp", "sap"), "Check for siblings" ); + * * @name siblings * @type jQuery * @cat DOM/Traversing @@ -2929,6 +2934,9 @@ jQuery.macros = { * @before
Hello

Hello Again

And Again

* @result [

Hello Again

] * + * @test isSet( $("#sndp").siblings("[code]").get(), q("sap"), "Check for filtered siblings (has code child element)" ); + * @test isSet( $("#sndp").siblings("[a]").get(), q("en", "sap"), "Check for filtered siblings (has anchor child element)" ); + * * @name siblings * @type jQuery * @param String expr An expression to filter the sibling Elements with