X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=19ee7c10e0439531507f0adfb761eb57cd981eb0;hb=c96b991493b3e432fe095a18cab29b046577976c;hp=38dee9c89e834e596e0c764f43c71275fd0dd1ef;hpb=8e105ef9318da2a38019878c6152a4a67d9fceb1;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 38dee9c..19ee7c1 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -927,14 +927,14 @@ jQuery.fn = jQuery.prototype = { not: function(t) { return this.pushStack( t.constructor == String && - jQuery.multiFilter(t,this,true) || - - jQuery.grep(this,function(a){ - if ( t.constructor == Array || t.jquery ) - return jQuery.inArray( t, a ) < 0; - else - return a != t; - }) ); + jQuery.multiFilter(t, this, true) || + + jQuery.grep(this, function(a) { + return ( t.constructor == Array || t.jquery ) + ? console.log("t: %o a: %o", t, a) | jQuery.inArray( a, t ) < 0 + : a != t; + }) + ); }, /**