diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2015-10-01 16:03:10 -0400 |
---|---|---|
committer | Oleg Gaidarenko <markelog@gmail.com> | 2015-10-12 17:34:20 +0300 |
commit | 7e78c2ec81dbb7bac9222864c4981ed0a54b66e5 (patch) | |
tree | df28986985437b923471a7999792a350529dbdaa /src/event | |
parent | 15f79201c40fda064d184392da33b88a727720da (diff) | |
download | jquery-7e78c2ec81dbb7bac9222864c4981ed0a54b66e5.tar.gz jquery-7e78c2ec81dbb7bac9222864c4981ed0a54b66e5.zip |
Event: Move .bind() and .delegate() to deprecated
Cherry-picked from ee0854f85bd686b55757e8854a10480f23c928da
Fixes gh-2288
Closes gh-2624
Diffstat (limited to 'src/event')
-rw-r--r-- | src/event/alias.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/event/alias.js b/src/event/alias.js index d2bdc5bb8..75467353c 100644 --- a/src/event/alias.js +++ b/src/event/alias.js @@ -19,24 +19,6 @@ jQuery.each( ( "blur focus focusin focusout resize scroll click dblclick " + jQuery.fn.extend( { hover: function( fnOver, fnOut ) { return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); - }, - - bind: function( types, data, fn ) { - return this.on( types, null, data, fn ); - }, - unbind: function( types, fn ) { - return this.off( types, null, fn ); - }, - - delegate: function( selector, types, data, fn ) { - return this.on( types, selector, data, fn ); - }, - undelegate: function( selector, types, fn ) { - - // ( namespace ) or ( selector, types [, fn] ) - return arguments.length === 1 ? - this.off( selector, "**" ) : - this.off( types, selector || "**", fn ); } } ); |