git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up in jQuery.event.add for assigning a handler.guid
[jquery.git]
/
src
/
jquery
/
jquery.js
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
5c9dcf3
..
52b524a
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-176,7
+176,7
@@
jQuery.fn = jQuery.prototype = {
// HANDLE: $(arraylike)
// Watch for when an array-like object is passed as the selector
// HANDLE: $(arraylike)
// Watch for when an array-like object is passed as the selector
- (a.jquery || a.length && a != window && (!a.nodeType || (jQuery.browser.msie && a.elements)) && a[0] != undefined && a[0].nodeType) && jQuery.makeArray( a ) ||
+ (a.jquery || a.length && a != window && !a.nodeType && a[0] != undefined && a[0].nodeType) && jQuery.makeArray( a ) ||
// HANDLE: $(*)
[ a ] );
// HANDLE: $(*)
[ a ] );
@@
-1770,7
+1770,7
@@
jQuery.extend({
if ( typeof fn == "string" )
fn = new Function("a","return " + fn);
if ( typeof fn == "string" )
fn = new Function("a","return " + fn);
- var result = [], r = [];
+ var result = [];
// Go through the array, translating each of the items to their
// new value (or values).
// Go through the array, translating each of the items to their
// new value (or values).