18
|
1 |
/*! |
19
|
2 |
* jQuery UI Effects Transfer 1.13.1 |
18
|
3 |
* http://jqueryui.com |
|
4 |
* |
|
5 |
* Copyright jQuery Foundation and other contributors |
|
6 |
* Released under the MIT license. |
|
7 |
* http://jquery.org/license |
|
8 |
*/ |
|
9 |
|
|
10 |
//>>label: Transfer Effect |
|
11 |
//>>group: Effects |
|
12 |
//>>description: Displays a transfer effect from one element to another. |
|
13 |
//>>docs: http://api.jqueryui.com/transfer-effect/ |
|
14 |
//>>demos: http://jqueryui.com/effect/ |
|
15 |
|
|
16 |
( function( factory ) { |
19
|
17 |
"use strict"; |
|
18 |
|
18
|
19 |
if ( typeof define === "function" && define.amd ) { |
|
20 |
|
|
21 |
// AMD. Register as an anonymous module. |
|
22 |
define( [ |
|
23 |
"jquery", |
|
24 |
"./effect" |
|
25 |
], factory ); |
|
26 |
} else { |
|
27 |
|
|
28 |
// Browser globals |
|
29 |
factory( jQuery ); |
|
30 |
} |
19
|
31 |
} )( function( $ ) { |
|
32 |
"use strict"; |
18
|
33 |
|
|
34 |
var effect; |
|
35 |
if ( $.uiBackCompat !== false ) { |
|
36 |
effect = $.effects.define( "transfer", function( options, done ) { |
|
37 |
$( this ).transfer( options, done ); |
|
38 |
} ); |
|
39 |
} |
|
40 |
return effect; |
|
41 |
|
19
|
42 |
} ); |