Added test for #237
This commit is contained in:
parent
692d676e99
commit
05164f34be
1 changed files with 8 additions and 0 deletions
|
@ -305,6 +305,14 @@ jQuery.fn.extend({
|
|||
* left: 50, opacity: 'show'
|
||||
* }, 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
|
||||
* @type jQuery
|
||||
* @param Hash params A set of style attributes that you wish to animate, and to what end.
|
||||
|
|
Loading…
Reference in a new issue