Removing remaining strict-mode warnings.

This commit is contained in:
John Resig 2008-12-19 04:36:28 +00:00
parent 77344f4c50
commit 0935f4a0b1
3 changed files with 7 additions and 6 deletions

View file

@ -680,7 +680,7 @@ jQuery.extend({
// Return the named cache data, or the ID for the element
return name ?
jQuery.cache[ id ][ name ] :
jQuery.cache[ id ][ name ] || null :
id;
},
@ -1163,12 +1163,12 @@ jQuery.extend({
// Also, we need to make sure that the correct elements are being returned
// (IE returns comment nodes in a '*' query)
if ( jQuery.browser.msie ) {
while ( elem = second[ i++ ] )
while ( (elem = second[ i++ ]) )
if ( elem.nodeType != 8 )
first[ pos++ ] = elem;
} else
while ( elem = second[ i++ ] )
while ( (elem = second[ i++ ]) )
first[ pos++ ] = elem;
return first;