Skip to content

Commit

Permalink
Fix #13078. Remove .live() and .die(). Great rejoicing.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmethvin committed Dec 18, 2012
1 parent 963c47f commit eed78cc
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/event.js
Expand Up @@ -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 );
},
Expand Down

2 comments on commit eed78cc

@RedWolves
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally I would of went with a James Bond reference for the commit message http://www.imdb.com/title/tt0070328/

@dmethvin
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RedWolves I want to subscribe to your newsletter.

Please sign in to comment.