</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
- * 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
// 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]});
},
<div id="method-Ext.Element-isVisible"></div>/**
dom = me.dom;
// hideMode string override
- if (Ext.isString(animate)){
+ if (typeof animate == 'string'){
isDisplay = animate == DISPLAY;
isVisible = animate == VISIBILITY;
isOffsets = animate == OFFSETS;
*/
hide : function(animate){
// hideMode override
- if (Ext.isString(animate)){
+ if (typeof animate == 'string'){
this.setVisible(false, animate);
return this;
}
*/
show : function(animate){
// hideMode override
- if (Ext.isString(animate)){
+ if (typeof animate == 'string'){
this.setVisible(true, animate);
return this;
}
return this;
}
};
-}());</pre>
+}());
+</pre>
</body>
</html>
\ No newline at end of file