nexus site path corrected
[portal.git] / ecomp-portal-FE / client / bower_components / jquery / src / deprecated.js
1 define( [
2         "./core"
3 ], function( jQuery ) {
4
5 jQuery.fn.extend( {
6
7         bind: function( types, data, fn ) {
8                 return this.on( types, null, data, fn );
9         },
10         unbind: function( types, fn ) {
11                 return this.off( types, null, fn );
12         },
13
14         delegate: function( selector, types, data, fn ) {
15                 return this.on( types, selector, data, fn );
16         },
17         undelegate: function( selector, types, fn ) {
18
19                 // ( namespace ) or ( selector, types [, fn] )
20                 return arguments.length === 1 ?
21                         this.off( selector, "**" ) :
22                         this.off( types, selector || "**", fn );
23         },
24         size: function() {
25                 return this.length;
26         }
27 } );
28
29 jQuery.fn.andSelf = jQuery.fn.addBack;
30
31 } );
32