Added enchancement for #1994 by adding two parameters to .stop() which give additiona...
authorDavid Serduke <davidserduke@gmail.com>
Fri, 30 Nov 2007 21:36:49 +0000 (21:36 +0000)
committerDavid Serduke <davidserduke@gmail.com>
Fri, 30 Nov 2007 21:36:49 +0000 (21:36 +0000)
commit5039a4bc5b951b9d28659f6f42f73c59e2e560fc
tree3ff4a38cfe5ffae14bd345d8b3eeb9dc6d13ccea
parent37902e86b158eaa90f44d0932063d22df3050326
Added enchancement for #1994 by adding two parameters to .stop() which give additional functionality.  The first parameter clearQueue will clear the queue on the necessary DOM elements so all animation will stop.  The second parameter will cause the currently playing animation to immediately complete including reseting original styles on show and hide and calling the callback function.  If no parameters are passed it will work as it always did.

While adding unit testing I noticed the stop() unit test wasn't working correctly because the element was hidden so I fixed it and added more unit tests around the new functionality.  I also added a cursor:pointer to the css (because for a long time I didn't know they were clickable).
src/fx.js
test/data/testsuite.css
test/unit/fx.js