git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make sure regular settings object is set as context for all Ajax requests, if none...
[jquery.git]
/
src
/
event.js
diff --git
a/src/event.js
b/src/event.js
index
c826f17
..
fb28cb9
100644
(file)
--- a/
src/event.js
+++ b/
src/event.js
@@
-428,6
+428,8
@@
jQuery.event = {
jQuery.extend( proxy, data || {} );
proxy.guid += data.selector + data.live;
jQuery.extend( proxy, data || {} );
proxy.guid += data.selector + data.live;
+ data.liveProxy = proxy;
+
jQuery.event.add( this, data.live, liveHandler, data );
},
jQuery.event.add( this, data.live, liveHandler, data );
},
@@
-765,7
+767,6
@@
jQuery.each(["bind", "one"], function( i, name ) {
}
if ( jQuery.isFunction( data ) ) {
}
if ( jQuery.isFunction( data ) ) {
- thisObject = fn;
fn = data;
data = undefined;
}
fn = data;
data = undefined;
}
@@
-776,7
+777,7
@@
jQuery.each(["bind", "one"], function( i, name ) {
}) : fn;
return type === "unload" && name !== "one" ?
}) : fn;
return type === "unload" && name !== "one" ?
- this.one( type, data, fn, thisObject ) :
+ this.one( type, data, fn ) :
this.each(function() {
jQuery.event.add( this, type, handler, data );
});
this.each(function() {
jQuery.event.add( this, type, handler, data );
});