wp/wp-includes/js/jquery/ui/effect-transfer.js
changeset 18 be944660c56a
child 19 3d72ae0968f4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
       
     1 /*!
       
     2  * jQuery UI Effects Transfer 1.12.1
       
     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 ) {
       
    17 	if ( typeof define === "function" && define.amd ) {
       
    18 
       
    19 		// AMD. Register as an anonymous module.
       
    20 		define( [
       
    21 			"jquery",
       
    22 			"./effect"
       
    23 		], factory );
       
    24 	} else {
       
    25 
       
    26 		// Browser globals
       
    27 		factory( jQuery );
       
    28 	}
       
    29 }( function( $ ) {
       
    30 
       
    31 var effect;
       
    32 if ( $.uiBackCompat !== false ) {
       
    33 	effect = $.effects.define( "transfer", function( options, done ) {
       
    34 		$( this ).transfer( options, done );
       
    35 	} );
       
    36 }
       
    37 return effect;
       
    38 
       
    39 } ) );