r2750 - animateClass: corrected some misspelling the option
Author: a.farkas.pm
Date: Sun Jun 14 06:42:53 2009
New Revision: 2750
Modified:
branches/dev/effects/tests/visual/animateClass/index.html
branches/dev/effects/ui/effects.core.js
Log:
animateClass: corrected some misspelling the option
Modified: branches/dev/effects/tests/visual/animateClass/index.html
==============================================================================
--- branches/dev/effects/tests/visual/animateClass/index.html (original)
+++ branches/dev/effects/tests/visual/animateClass/index.html Sun Jun 14
06:42:53 2009
@@ -132,17 +132,17 @@
$('div.special')
.hover(function(){
- var childs = $('*', this)
+ var descendants = $('*', this)
.stop(true);
$(this)
.stop(true)
- .addClass('hover', {duration: 999, clearInlineStyles: true,
animateChilds: childs});
+ .addClass('hover', {duration: 999, clearInlineStyles: true,
animateDescendants: descendants});
},function(){
- var childs = $('*', this)
+ var descendants = $('*', this)
.stop(true);
$(this)
.stop(true)
- .removeClass('hover', {duration: 999, clearInlineStyles: true,
animateChilds: childs});
+ .removeClass('hover', {duration: 999, clearInlineStyles: true,
animateDescendants: descendants});
});
$('div.box:not(.special)')
Modified: branches/dev/effects/ui/effects.core.js
==============================================================================
--- branches/dev/effects/ui/effects.core.js (original)
+++ branches/dev/effects/ui/effects.core.js Sun Jun 14 06:42:53 2009
@@ -256,8 +256,8 @@
return this.each(function(){
var that = $(this),
- elements = (opt.animateChilds) ?
- $(opt.animateChilds, this).add(this) :
+ elements = (opt.animateDescendants) ?
+ $(opt.animateDescendants, this).add(this) :
that,
oldStyleAttr = that.attr('style') || ' ';
@@ -307,7 +307,7 @@
* callback: undefined,
* queue: undefined
*/
- animateChilds: false,
+ animateDescendants: false,
clearInlineStyles: true,
filterCallback: function(){},
cacheStyles: true