scratch – Blame information for rev 93
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
58 | office | 1 | define( [ |
2 | "./core" |
||
3 | ], function( jQuery ) { |
||
4 | |||
5 | "use strict"; |
||
6 | |||
7 | jQuery.fn.extend( { |
||
8 | |||
9 | bind: function( types, data, fn ) { |
||
10 | return this.on( types, null, data, fn ); |
||
11 | }, |
||
12 | unbind: function( types, fn ) { |
||
13 | return this.off( types, null, fn ); |
||
14 | }, |
||
15 | |||
16 | delegate: function( selector, types, data, fn ) { |
||
17 | return this.on( types, selector, data, fn ); |
||
18 | }, |
||
19 | undelegate: function( selector, types, fn ) { |
||
20 | |||
21 | // ( namespace ) or ( selector, types [, fn] ) |
||
22 | return arguments.length === 1 ? |
||
23 | this.off( selector, "**" ) : |
||
24 | this.off( types, selector || "**", fn ); |
||
25 | } |
||
26 | } ); |
||
27 | |||
28 | jQuery.parseJSON = JSON.parse; |
||
29 | |||
30 | } ); |