git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 3.2.2 - Released 06/02/2010
[extjs.git]
/
src
/
ext-core
/
src
/
core
/
Element.fx.js
diff --git
a/src/ext-core/src/core/Element.fx.js
b/src/ext-core/src/core/Element.fx.js
index
431c17f
..
8f950c8
100644
(file)
--- a/
src/ext-core/src/core/Element.fx.js
+++ b/
src/ext-core/src/core/Element.fx.js
@@
-1,5
+1,5
@@
/*!
/*!
- * Ext JS Library 3.2.
0
+ * Ext JS Library 3.2.
2
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
* 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){
// 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
dom = me.dom;
// hideMode string override
- if (
Ext.isString(animate)
){
+ if (
typeof animate == 'string'
){
isDisplay = animate == DISPLAY;
isVisible = animate == VISIBILITY;
isOffsets = animate == OFFSETS;
isDisplay = animate == DISPLAY;
isVisible = animate == VISIBILITY;
isOffsets = animate == OFFSETS;
@@
-331,7
+331,7
@@
el.animate(
*/
hide : function(animate){
// hideMode override
*/
hide : function(animate){
// hideMode override
- if (
Ext.isString(animate)
){
+ if (
typeof animate == 'string'
){
this.setVisible(false, animate);
return this;
}
this.setVisible(false, animate);
return this;
}
@@
-346,7
+346,7
@@
el.animate(
*/
show : function(animate){
// hideMode override
*/
show : function(animate){
// hideMode override
- if (
Ext.isString(animate)
){
+ if (
typeof animate == 'string'
){
this.setVisible(true, animate);
return this;
}
this.setVisible(true, animate);
return this;
}
@@
-354,4
+354,4
@@
el.animate(
return this;
}
};
return this;
}
};
-}());
\ No newline at end of file
+}());