Update jquery.effects
authorSam Reed <reedy@users.mediawiki.org>
Thu, 8 Dec 2011 23:54:06 +0000 (23:54 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Thu, 8 Dec 2011 23:54:06 +0000 (23:54 +0000)
15 files changed:
resources/Resources.php
resources/jquery.effects/jquery.effects.blind.js
resources/jquery.effects/jquery.effects.bounce.js
resources/jquery.effects/jquery.effects.clip.js
resources/jquery.effects/jquery.effects.core.js
resources/jquery.effects/jquery.effects.drop.js
resources/jquery.effects/jquery.effects.explode.js
resources/jquery.effects/jquery.effects.fade.js [new file with mode: 0644]
resources/jquery.effects/jquery.effects.fold.js
resources/jquery.effects/jquery.effects.highlight.js
resources/jquery.effects/jquery.effects.pulsate.js
resources/jquery.effects/jquery.effects.scale.js
resources/jquery.effects/jquery.effects.shake.js
resources/jquery.effects/jquery.effects.slide.js
resources/jquery.effects/jquery.effects.transfer.js

index 4d2f679..5f10a71 100644 (file)
@@ -449,6 +449,11 @@ return array(
                'dependencies' => 'jquery.effects.core',
                'group' => 'jquery.ui',
        ),
+       'jquery.effects.fade' => array(
+               'scripts' => 'resources/jquery.effects/jquery.effects.fade.js',
+               'dependencies' => 'jquery.effects.core',
+               'group' => 'jquery.ui',
+       ),
        'jquery.effects.fold' => array(
                'scripts' => 'resources/jquery.effects/jquery.effects.fold.js',
                'dependencies' => 'jquery.effects.core',
index d9a3b06..1d628a9 100644 (file)
@@ -1,23 +1,23 @@
 /*
- * jQuery UI Effects Blind 1.8.2
+ * jQuery UI Effects Blind 1.8.16
  *
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
  *
  * http://docs.jquery.com/UI/Effects/Blind
  *
  * Depends:
  *     jquery.effects.core.js
  */
-(function($) {
+(function( $, undefined ) {
 
 $.effects.blind = function(o) {
 
        return this.queue(function() {
 
                // Create element
-               var el = $(this), props = ['position','top','left'];
+               var el = $(this), props = ['position','top','bottom','left','right'];
 
                // Set options
                var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
index 010585b..e9c1f16 100644 (file)
@@ -1,23 +1,23 @@
 /*
- * jQuery UI Effects Bounce 1.8.2
+ * jQuery UI Effects Bounce 1.8.16
  *
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
  *
  * http://docs.jquery.com/UI/Effects/Bounce
  *
  * Depends:
  *     jquery.effects.core.js
  */
-(function($) {
+(function( $, undefined ) {
 
 $.effects.bounce = function(o) {
 
        return this.queue(function() {
 
                // Create element
-               var el = $(this), props = ['position','top','left'];
+               var el = $(this), props = ['position','top','bottom','left','right'];
 
                // Set options
                var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode
index 796ba89..aa96a84 100644 (file)
@@ -1,23 +1,23 @@
 /*
- * jQuery UI Effects Clip 1.8.2
+ * jQuery UI Effects Clip 1.8.16
  *
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
  *
  * http://docs.jquery.com/UI/Effects/Clip
  *
  * Depends:
  *     jquery.effects.core.js
  */
-(function($) {
+(function( $, undefined ) {
 
 $.effects.clip = function(o) {
 
        return this.queue(function() {
 
                // Create element
-               var el = $(this), props = ['position','top','left','height','width'];
+               var el = $(this), props = ['position','top','bottom','left','right','height','width'];
 
                // Set options
                var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
index 4589fe2..0faacbf 100644 (file)
@@ -1,13 +1,13 @@
 /*
- * jQuery UI Effects 1.8.2
+ * jQuery UI Effects 1.8.16
  *
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
  *
  * http://docs.jquery.com/UI/Effects/
  */
-;jQuery.effects || (function($) {
+;jQuery.effects || (function($, undefined) {
 
 $.effects = {};
 
@@ -19,7 +19,7 @@ $.effects = {};
 
 // override the animation for color styles
 $.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor',
-       'borderRightColor', 'borderTopColor', 'color', 'outlineColor'],
+       'borderRightColor', 'borderTopColor', 'borderColor', 'color', 'outlineColor'],
 function(i, attr) {
        $.fx.step[attr] = function(fx) {
                if (!fx.colorInit) {
@@ -52,7 +52,7 @@ function getRGB(color) {
                                return [parseInt(result[1],10), parseInt(result[2],10), parseInt(result[3],10)];
 
                // Look for rgb(num%,num%,num%)
-               if (result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)%\s*,\s*([0-9]+(?:\.[0-9]+)?)%\s*\)/.exec(color))
+               if (result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(color))
                                return [parseFloat(result[1])*2.55, parseFloat(result[2])*2.55, parseFloat(result[3])*2.55];
 
                // Look for #a0b1c2
@@ -231,13 +231,12 @@ $.effects.animateClass = function(value, duration, easing, callback) {
                easing = null;
        }
 
-       return this.each(function() {
-
+       return this.queue(function() {
                var that = $(this),
                        originalStyleAttr = that.attr('style') || ' ',
                        originalStyle = filterStyles(getElementStyles.call(this)),
                        newStyle,
-                       className = that.attr('className');
+                       className = that.attr('class');
 
                $.each(classAnimationActions, function(i, action) {
                        if (value[action]) {
@@ -245,20 +244,26 @@ $.effects.animateClass = function(value, duration, easing, callback) {
                        }
                });
                newStyle = filterStyles(getElementStyles.call(this));
-               that.attr('className', className);
-
-               that.animate(styleDifference(originalStyle, newStyle), duration, easing, function() {
-                       $.each(classAnimationActions, function(i, action) {
-                               if (value[action]) { that[action + 'Class'](value[action]); }
-                       });
-                       // work around bug in IE by clearing the cssText before setting it
-                       if (typeof that.attr('style') == 'object') {
-                               that.attr('style').cssText = '';
-                               that.attr('style').cssText = originalStyleAttr;
-                       } else {
-                               that.attr('style', originalStyleAttr);
+               that.attr('class', className);
+
+               that.animate(styleDifference(originalStyle, newStyle), {
+                       queue: false,
+                       duration: duration,
+                       easing: easing,
+                       complete: function() {
+                               $.each(classAnimationActions, function(i, action) {
+                                       if (value[action]) { that[action + 'Class'](value[action]); }
+                               });
+                               // work around bug in IE by clearing the cssText before setting it
+                               if (typeof that.attr('style') == 'object') {
+                                       that.attr('style').cssText = '';
+                                       that.attr('style').cssText = originalStyleAttr;
+                               } else {
+                                       that.attr('style', originalStyleAttr);
+                               }
+                               if (callback) { callback.apply(this, arguments); }
+                               $.dequeue( this );
                        }
-                       if (callback) { callback.apply(this, arguments); }
                });
        });
 };
@@ -301,7 +306,7 @@ $.fn.extend({
 /******************************************************************************/
 
 $.extend($.effects, {
-       version: "1.8.2",
+       version: "1.8.16",
 
        // Saves a set of properties in a data storage
        save: function(element, set) {
@@ -362,9 +367,16 @@ $.extend($.effects, {
                                        border: 'none',
                                        margin: 0,
                                        padding: 0
-                               });
+                               }),
+                       active = document.activeElement;
 
                element.wrap(wrapper);
+
+               // Fixes #7595 - Elements lose focus when wrapped.
+               if ( element[ 0 ] === active || $.contains( element[ 0 ], active ) ) {
+                       $( active ).focus();
+               }
+               
                wrapper = element.parent(); //Hotfix for jQuery 1.4 since some change in wrap() seems to actually loose the reference to the wrapped element
 
                // transfer positioning properties to the wrapper
@@ -382,15 +394,25 @@ $.extend($.effects, {
                                        props[pos] = 'auto';
                                }
                        });
-                       element.css({position: 'relative', top: 0, left: 0 });
+                       element.css({position: 'relative', top: 0, left: 0, right: 'auto', bottom: 'auto' });
                }
 
                return wrapper.css(props).show();
        },
 
        removeWrapper: function(element) {
-               if (element.parent().is('.ui-effects-wrapper'))
-                       return element.parent().replaceWith(element);
+               var parent,
+                       active = document.activeElement;
+               
+               if (element.parent().is('.ui-effects-wrapper')) {
+                       parent = element.parent().replaceWith(element);
+                       // Fixes #7595 - Elements lose focus when wrapped.
+                       if ( element[ 0 ] === active || $.contains( element[ 0 ], active ) ) {
+                               $( active ).focus();
+                       }
+                       return parent;
+               }
+                       
                return element;
        },
 
@@ -418,44 +440,72 @@ function _normalizeArguments(effect, options, speed, callback) {
                speed = null;
                options = {};
        }
-       if ($.isFunction(speed)) {
-               callback = speed;
-               speed = null;
-       }
-       if (typeof options == 'number' || $.fx.speeds[options]) {
+        if (typeof options == 'number' || $.fx.speeds[options]) {
                callback = speed;
                speed = options;
                options = {};
        }
+       if ($.isFunction(speed)) {
+               callback = speed;
+               speed = null;
+       }
 
        options = options || {};
 
        speed = speed || options.duration;
        speed = $.fx.off ? 0 : typeof speed == 'number'
-               ? speed : $.fx.speeds[speed] || $.fx.speeds._default;
+               ? speed : speed in $.fx.speeds ? $.fx.speeds[speed] : $.fx.speeds._default;
 
        callback = callback || options.complete;
 
        return [effect, options, speed, callback];
 }
 
+function standardSpeed( speed ) {
+       // valid standard speeds
+       if ( !speed || typeof speed === "number" || $.fx.speeds[ speed ] ) {
+               return true;
+       }
+       
+       // invalid strings - treat as "normal" speed
+       if ( typeof speed === "string" && !$.effects[ speed ] ) {
+               return true;
+       }
+       
+       return false;
+}
+
 $.fn.extend({
        effect: function(effect, options, speed, callback) {
                var args = _normalizeArguments.apply(this, arguments),
-                       // TODO: make effects takes actual parameters instead of a hash
+                       // TODO: make effects take actual parameters instead of a hash
                        args2 = {
                                options: args[1],
                                duration: args[2],
                                callback: args[3]
                        },
+                       mode = args2.options.mode,
                        effectMethod = $.effects[effect];
                
-               return effectMethod && !$.fx.off ? effectMethod.call(this, args2) : this;
+               if ( $.fx.off || !effectMethod ) {
+                       // delegate to the original method (e.g., .show()) if possible
+                       if ( mode ) {
+                               return this[ mode ]( args2.duration, args2.callback );
+                       } else {
+                               return this.each(function() {
+                                       if ( args2.callback ) {
+                                               args2.callback.call( this );
+                                       }
+                               });
+                       }
+               }
+               
+               return effectMethod.call(this, args2);
        },
 
        _show: $.fn.show,
        show: function(speed) {
-               if (!speed || typeof speed == 'number' || $.fx.speeds[speed]) {
+               if ( standardSpeed( speed ) ) {
                        return this._show.apply(this, arguments);
                } else {
                        var args = _normalizeArguments.apply(this, arguments);
@@ -466,7 +516,7 @@ $.fn.extend({
 
        _hide: $.fn.hide,
        hide: function(speed) {
-               if (!speed || typeof speed == 'number' || $.fx.speeds[speed]) {
+               if ( standardSpeed( speed ) ) {
                        return this._hide.apply(this, arguments);
                } else {
                        var args = _normalizeArguments.apply(this, arguments);
@@ -475,11 +525,10 @@ $.fn.extend({
                }
        },
 
-       // jQuery core overloads toggle and create _toggle
+       // jQuery core overloads toggle and creates _toggle
        __toggle: $.fn.toggle,
        toggle: function(speed) {
-               if (!speed || typeof speed == 'number' || $.fx.speeds[speed] ||
-                       typeof speed == 'boolean' || $.isFunction(speed)) {
+               if ( standardSpeed( speed ) || typeof speed === "boolean" || $.isFunction( speed ) ) {
                        return this.__toggle.apply(this, arguments);
                } else {
                        var args = _normalizeArguments.apply(this, arguments);
index 0059c03..d1cffc2 100644 (file)
@@ -1,23 +1,23 @@
 /*
- * jQuery UI Effects Drop 1.8.2
+ * jQuery UI Effects Drop 1.8.16
  *
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
  *
  * http://docs.jquery.com/UI/Effects/Drop
  *
  * Depends:
  *     jquery.effects.core.js
  */
-(function($) {
+(function( $, undefined ) {
 
 $.effects.drop = function(o) {
 
        return this.queue(function() {
 
                // Create element
-               var el = $(this), props = ['position','top','left','opacity'];
+               var el = $(this), props = ['position','top','bottom','left','right','opacity'];
 
                // Set options
                var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
index 85ba1dc..c3d0204 100644 (file)
@@ -1,16 +1,16 @@
 /*
- * jQuery UI Effects Explode 1.8.2
+ * jQuery UI Effects Explode 1.8.16
  *
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
  *
  * http://docs.jquery.com/UI/Effects/Explode
  *
  * Depends:
  *     jquery.effects.core.js
  */
-(function($) {
+(function( $, undefined ) {
 
 $.effects.explode = function(o) {
 
diff --git a/resources/jquery.effects/jquery.effects.fade.js b/resources/jquery.effects/jquery.effects.fade.js
new file mode 100644 (file)
index 0000000..fedc653
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+ * jQuery UI Effects Fade 1.8.16
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Effects/Fade
+ *
+ * Depends:
+ *     jquery.effects.core.js
+ */
+(function( $, undefined ) {
+
+$.effects.fade = function(o) {
+       return this.queue(function() {
+               var elem = $(this),
+                       mode = $.effects.setMode(elem, o.options.mode || 'hide');
+
+               elem.animate({ opacity: mode }, {
+                       queue: false,
+                       duration: o.duration,
+                       easing: o.options.easing,
+                       complete: function() {
+                               (o.callback && o.callback.apply(this, arguments));
+                               elem.dequeue();
+                       }
+               });
+       });
+};
+
+})(jQuery);
index 946831b..6a1c7cc 100644 (file)
@@ -1,23 +1,23 @@
 /*
- * jQuery UI Effects Fold 1.8.2
+ * jQuery UI Effects Fold 1.8.16
  *
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
  *
  * http://docs.jquery.com/UI/Effects/Fold
  *
  * Depends:
  *     jquery.effects.core.js
  */
-(function($) {
+(function( $, undefined ) {
 
 $.effects.fold = function(o) {
 
        return this.queue(function() {
 
                // Create element
-               var el = $(this), props = ['position','top','left'];
+               var el = $(this), props = ['position','top','bottom','left','right'];
 
                // Set options
                var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
index 5e03e9e..9c203fb 100644 (file)
@@ -1,16 +1,16 @@
 /*
- * jQuery UI Effects Highlight 1.8.2
+ * jQuery UI Effects Highlight 1.8.16
  *
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
  *
  * http://docs.jquery.com/UI/Effects/Highlight
  *
  * Depends:
  *     jquery.effects.core.js
  */
-(function($) {
+(function( $, undefined ) {
 
 $.effects.highlight = function(o) {
        return this.queue(function() {
index 11c5af1..64de0de 100644 (file)
@@ -1,16 +1,16 @@
 /*
- * jQuery UI Effects Pulsate 1.8.2
+ * jQuery UI Effects Pulsate 1.8.16
  *
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
  *
  * http://docs.jquery.com/UI/Effects/Pulsate
  *
  * Depends:
  *     jquery.effects.core.js
  */
-(function($) {
+(function( $, undefined ) {
 
 $.effects.pulsate = function(o) {
        return this.queue(function() {
index 1efb781..386f709 100644 (file)
@@ -1,16 +1,16 @@
 /*
- * jQuery UI Effects Scale 1.8.2
+ * jQuery UI Effects Scale 1.8.16
  *
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
  *
  * http://docs.jquery.com/UI/Effects/Scale
  *
  * Depends:
  *     jquery.effects.core.js
  */
-(function($) {
+(function( $, undefined ) {
 
 $.effects.puff = function(o) {
        return this.queue(function() {
@@ -84,8 +84,8 @@ $.effects.size = function(o) {
        return this.queue(function() {
 
                // Create element
-               var el = $(this), props = ['position','top','left','width','height','overflow','opacity'];
-               var props1 = ['position','top','left','overflow','opacity']; // Always restore
+               var el = $(this), props = ['position','top','bottom','left','right','width','height','overflow','opacity'];
+               var props1 = ['position','top','bottom','left','right','overflow','opacity']; // Always restore
                var props2 = ['width','height','overflow']; // Copy for children
                var cProps = ['fontSize'];
                var vProps = ['borderTopWidth', 'borderBottomWidth', 'paddingTop', 'paddingBottom'];
index 050894b..86e5a16 100644 (file)
@@ -1,23 +1,23 @@
 /*
- * jQuery UI Effects Shake 1.8.2
+ * jQuery UI Effects Shake 1.8.16
  *
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
  *
  * http://docs.jquery.com/UI/Effects/Shake
  *
  * Depends:
  *     jquery.effects.core.js
  */
-(function($) {
+(function( $, undefined ) {
 
 $.effects.shake = function(o) {
 
        return this.queue(function() {
 
                // Create element
-               var el = $(this), props = ['position','top','left'];
+               var el = $(this), props = ['position','top','bottom','left','right'];
 
                // Set options
                var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode
index d0719a7..99fdd40 100644 (file)
@@ -1,23 +1,23 @@
 /*
- * jQuery UI Effects Slide 1.8.2
+ * jQuery UI Effects Slide 1.8.16
  *
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
  *
  * http://docs.jquery.com/UI/Effects/Slide
  *
  * Depends:
  *     jquery.effects.core.js
  */
-(function($) {
+(function( $, undefined ) {
 
 $.effects.slide = function(o) {
 
        return this.queue(function() {
 
                // Create element
-               var el = $(this), props = ['position','top','left'];
+               var el = $(this), props = ['position','top','bottom','left','right'];
 
                // Set options
                var mode = $.effects.setMode(el, o.options.mode || 'show'); // Set Mode
@@ -29,7 +29,7 @@ $.effects.slide = function(o) {
                var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left';
                var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg';
                var distance = o.options.distance || (ref == 'top' ? el.outerHeight({margin:true}) : el.outerWidth({margin:true}));
-               if (mode == 'show') el.css(ref, motion == 'pos' ? -distance : distance); // Shift
+               if (mode == 'show') el.css(ref, motion == 'pos' ? (isNaN(distance) ? "-" + distance : -distance) : distance); // Shift
 
                // Animation
                var animation = {};
index 4c212ca..c224963 100644 (file)
@@ -1,16 +1,16 @@
 /*
- * jQuery UI Effects Transfer 1.8.2
+ * jQuery UI Effects Transfer 1.8.16
  *
- * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
  *
  * http://docs.jquery.com/UI/Effects/Transfer
  *
  * Depends:
  *     jquery.effects.core.js
  */
-(function($) {
+(function( $, undefined ) {
 
 $.effects.transfer = function(o) {
        return this.queue(function() {