Skip to content
Permalink
Browse files

Fix #13078. Remove .live() and .die(). Great rejoicing.

  • Loading branch information...
dmethvin committed Dec 18, 2012
1 parent 963c47f commit eed78cc321ed7e2b37fb34e32fbb528b24f61d6e
Showing with 0 additions and 9 deletions.
  1. +0 −9 src/event.js
@@ -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 );
},

2 comments on commit eed78cc

@RedWolves

This comment has been minimized.

Copy link
Member

RedWolves replied Dec 20, 2012

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

@dmethvin

This comment has been minimized.

Copy link
Member Author

dmethvin replied Dec 20, 2012

@RedWolves I want to subscribe to your newsletter.

Please sign in to comment.
You can’t perform that action at this time.