mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Added .not() test case.
This commit is contained in:
parent
0f458cf806
commit
0382a490f5
1
src/jquery/jquery.js
vendored
1
src/jquery/jquery.js
vendored
@ -637,6 +637,7 @@ jQuery.fn = jQuery.prototype = {
|
|||||||
* @example $("p").not("#selected")
|
* @example $("p").not("#selected")
|
||||||
* @before <p>Hello</p><p id="selected">Hello Again</p>
|
* @before <p>Hello</p><p id="selected">Hello Again</p>
|
||||||
* @result [ <p>Hello</p> ]
|
* @result [ <p>Hello</p> ]
|
||||||
|
* @test cmpOK($("#main > p#ap > a").not("#google").length, "==", 2, ".not")
|
||||||
*
|
*
|
||||||
* @name not
|
* @name not
|
||||||
* @type jQuery
|
* @type jQuery
|
||||||
|
Loading…
Reference in New Issue
Block a user