X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/source/Animate.html diff --git a/docs/source/Animate.html b/docs/source/Animate.html index fe1523e6..d7a03b79 100644 --- a/docs/source/Animate.html +++ b/docs/source/Animate.html @@ -223,7 +223,7 @@ Ext.define('Ext.util.Animate', { /** * <p>Perform custom animation on this object.<p> - * <p>This method is applicable to both the the {@link Ext.Component Component} class and the {@link Ext.core.Element Element} class. + * <p>This method is applicable to both the {@link Ext.Component Component} class and the {@link Ext.core.Element Element} class. * It performs animated transitions of certain properties of this object over a specified timeline.</p> * <p>The sole parameter is an object which specifies start property values, end property values, and properties which * describe the timeline. Of the properties listed below, only <b><code>to</code></b> is mandatory.</p> @@ -398,9 +398,11 @@ myWindow.header.el.on('click', function() { getActiveAnimation: function() { return Ext.fx.Manager.getActiveAnimation(this.id); } -}); - -// Apply Animate mixin manually until Element is defined in the proper 4.x way -Ext.applyIf(Ext.core.Element.prototype, Ext.util.Animate.prototype); +}, function(){ + // Apply Animate mixin manually until Element is defined in the proper 4.x way + Ext.applyIf(Ext.core.Element.prototype, this.prototype); + // We need to call this again so the animation methods get copied over to CE + Ext.CompositeElementLite.importElementMethods(); +});