mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Fix #13078. Remove .live() and .die(). Great rejoicing.
This commit is contained in:
parent
963c47f9ed
commit
eed78cc321
@ -940,15 +940,6 @@ jQuery.fn.extend({
|
||||
return this.off( types, null, fn );
|
||||
},
|
||||
|
||||
live: function( types, data, fn ) {
|
||||
jQuery( this.context ).on( types, this.selector, data, fn );
|
||||
return this;
|
||||
},
|
||||
die: function( types, fn ) {
|
||||
jQuery( this.context ).off( types, this.selector || "**", fn );
|
||||
return this;
|
||||
},
|
||||
|
||||
delegate: function( selector, types, data, fn ) {
|
||||
return this.on( types, selector, data, fn );
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user