X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjquery%2Fjquery.js;h=0a21af773f98174573c33fd76d445b28c50ffacd;hb=f7efcc858dec55fa3b9babb94ebc73b0888e6d51;hp=ef5556742f168e0d9b73c13cd7226d811a99d9f4;hpb=0f458cf806ed4013dc2ef289c990f3818df0fd25;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index ef55567..0a21af7 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -69,7 +69,7 @@ function jQuery(a,c) { } // Map over the $ in case of overwrite -if ( $ ) +if ( typeof $ != "undefined" ) jQuery._$ = $; // Map the jQuery namespace to the '$' one @@ -637,6 +637,7 @@ jQuery.fn = jQuery.prototype = { * @example $("p").not("#selected") * @before

Hello

Hello Again

* @result [

Hello

] + * @test cmpOK($("#main > p#ap > a").not("#google").length, "==", 2, ".not") * * @name not * @type jQuery @@ -2382,7 +2383,7 @@ jQuery.macros = { * @param String expr An expression to filter the child Elements with * @cat DOM/Traversing */ - children: "a.childNodes" + children: "jQuery.sibling(a.firstChild)" }, each: {