Upgrade to ExtJS 3.2.1 - Released 04/27/2010
[extjs.git] / src / ext-core / src / core / Element.fx.js
index 431c17f..7821b88 100644 (file)
@@ -1,5 +1,5 @@
 /*!
- * Ext JS Library 3.2.0
+ * Ext JS Library 3.2.1
  * Copyright(c) 2006-2010 Ext JS, Inc.
  * licensing@extjs.com
  * http://www.extjs.com/license
@@ -215,7 +215,7 @@ el.animate(
 
         // private legacy anim prep
         preanim : function(a, i){
-            return !a[i] ? false : (Ext.isObject(a[i]) ? a[i]: {duration: a[i+1], callback: a[i+2], easing: a[i+3]});
+            return !a[i] ? false : (typeof a[i] == 'object' ? a[i]: {duration: a[i+1], callback: a[i+2], easing: a[i+3]});
         },
 
         /**
@@ -238,7 +238,7 @@ el.animate(
                 dom = me.dom;
 
             // hideMode string override
-            if (Ext.isString(animate)){
+            if (typeof animate == 'string'){
                 isDisplay = animate == DISPLAY;
                 isVisible = animate == VISIBILITY;
                 isOffsets = animate == OFFSETS;
@@ -331,7 +331,7 @@ el.animate(
          */
         hide : function(animate){
             // hideMode override
-            if (Ext.isString(animate)){
+            if (typeof animate == 'string'){
                 this.setVisible(false, animate);
                 return this;
             }
@@ -346,7 +346,7 @@ el.animate(
          */
         show : function(animate){
             // hideMode override
-            if (Ext.isString(animate)){
+            if (typeof animate == 'string'){
                 this.setVisible(true, animate);
                 return this;
             }
@@ -354,4 +354,4 @@ el.animate(
             return this;
         }
     };
-}());
\ No newline at end of file
+}());