aboutsummaryrefslogtreecommitdiffstats
path: root/src/deprecated.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/deprecated.js')
-rw-r--r--src/deprecated.js24
1 files changed, 2 insertions, 22 deletions
diff --git a/src/deprecated.js b/src/deprecated.js
index b7879c208..be1997321 100644
--- a/src/deprecated.js
+++ b/src/deprecated.js
@@ -2,28 +2,8 @@ import jQuery from "./core.js";
import slice from "./var/slice.js";
import trim from "./var/trim.js";
-import "./event/alias.js";
-
-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 );
- }
-} );
+import "./deprecated/ajax-event-alias.js";
+import "./deprecated/event.js";
// Bind a function to a context, optionally partially applying any
// arguments.