diff options
Diffstat (limited to 'src/deprecated.js')
-rw-r--r-- | src/deprecated.js | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/src/deprecated.js b/src/deprecated.js index 141f99462..cc13c3c82 100644 --- a/src/deprecated.js +++ b/src/deprecated.js @@ -7,7 +7,8 @@ define( [ "./var/isWindow", "./var/slice", - "./event/alias" + "./deprecated/ajax-event-alias", + "./deprecated/event" ], function( jQuery, nodeName, camelCase, toType, isFunction, isWindow, slice ) { "use strict"; @@ -16,27 +17,6 @@ define( [ // Make sure we trim BOM and NBSP var rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g; -jQuery.fn.extend( { - - 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 ); - } -} ); - // Bind a function to a context, optionally partially applying any // arguments. // jQuery.proxy is deprecated to promote standards (specifically Function#bind) |