]> source.dussan.org Git - jquery.git/commitdiff
Added .not() test case.
authorJohn Resig <jeresig@gmail.com>
Sat, 26 Aug 2006 22:39:14 +0000 (22:39 +0000)
committerJohn Resig <jeresig@gmail.com>
Sat, 26 Aug 2006 22:39:14 +0000 (22:39 +0000)
src/jquery/jquery.js

index ef5556742f168e0d9b73c13cd7226d811a99d9f4..a204992adf31e65c5754ec93bb95af1eef60d08f 100644 (file)
@@ -637,6 +637,7 @@ jQuery.fn = jQuery.prototype = {
         * @example $("p").not("#selected")
         * @before <p>Hello</p><p id="selected">Hello Again</p>
         * @result [ <p>Hello</p> ]
+        * @test cmpOK($("#main > p#ap > a").not("#google").length, "==", 2, ".not")
         *
         * @name not
         * @type jQuery