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 4.0.1 - Released 05/18/2011
[extjs.git]
/
src
/
Action.js
diff --git
a/src/Action.js
b/src/Action.js
index
9e1c390
..
c1be6b6
100644
(file)
--- a/
src/Action.js
+++ b/
src/Action.js
@@
-229,9
+229,12
@@
Ext.define('Ext.Action', {
// private
callEach : function(fnName, args){
// private
callEach : function(fnName, args){
- var cs = this.items;
- for(var i = 0, len = cs.length; i < len; i++){
- cs[i][fnName].apply(cs[i], args);
+ var items = this.items,
+ i = 0,
+ len = items.length;
+
+ for(; i < len; i++){
+ items[i][fnName].apply(items[i], args);
}
},
}
},
@@
-243,7
+246,7
@@
Ext.define('Ext.Action', {
// private
removeComponent : function(comp){
// private
removeComponent : function(comp){
-
this.items.remove(
comp);
+
Ext.Array.remove(this.items,
comp);
},
/**
},
/**