X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/Action.html diff --git a/docs/source/Action.html b/docs/source/Action.html index 55b324fa..f9a22324 100644 --- a/docs/source/Action.html +++ b/docs/source/Action.html @@ -1,4 +1,21 @@ -
/**
+
+
+
+
+ The source code
+
+
+
+
+
+
+ /**
* @class Ext.Action
* <p>An Action is a piece of reusable functionality that can be abstracted out of any particular component so that it
* can be usefully shared among multiple components. Actions let you share handlers, configuration options and UI
@@ -229,9 +246,12 @@ Ext.define('Ext.Action', {
// 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 +263,7 @@ Ext.define('Ext.Action', {
// private
removeComponent : function(comp){
- this.items.remove(comp);
+ Ext.Array.remove(this.items, comp);
},
/**
@@ -258,4 +278,6 @@ Ext.define('Ext.Action', {
this.initialConfig.handler.apply(this.initialConfig.scope || Ext.global, arguments);
}
});
-
\ No newline at end of file
+
+
+