Merge branch '8777' of https://github.com/rwldrn/jquery into rwldrn-8777

Conflicts:
	src/event.js
This commit is contained in:
jeresig 2011-04-11 12:13:04 -04:00
commit 094c48e0c5
2 changed files with 29 additions and 0 deletions

View file

@ -1033,6 +1033,14 @@ jQuery.each(["live", "die"], function( i, name ) {
return this;
}
if ( name === "die" && !types &&
origSelector && origSelector[0] === "." ) {
context.unbind( origSelector );
return this;
}
if ( data === false || jQuery.isFunction( data ) ) {
fn = data || returnFalse;
data = undefined;