Commit 05164f34 authored by Brandon Aaron's avatar Brandon Aaron

Added test for #237

parent 692d676e
...@@ -305,6 +305,14 @@ jQuery.fn.extend({ ...@@ -305,6 +305,14 @@ jQuery.fn.extend({
* left: 50, opacity: 'show' * left: 50, opacity: 'show'
* }, 500); * }, 500);
* *
* @test stop();
* var hash = {opacity: 'show'};
* var hashCopy = $.extend({}, hash);
* $('#foo').animate(hash, 'fast', function() {
* ok( hash.opacity == hashCopy.opacity, 'Check if animate changed the hash parameter' );
* start();
* });
*
* @name animate * @name animate
* @type jQuery * @type jQuery
* @param Hash params A set of style attributes that you wish to animate, and to what end. * @param Hash params A set of style attributes that you wish to animate, and to what end.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment