You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2013/10/21 07:06:46 UTC

[2/3] git commit: [flex-asjs] [refs/heads/develop] - use children array instead of getChildAt

use children array instead of getChildAt


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/824b9640
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/824b9640
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/824b9640

Branch: refs/heads/develop
Commit: 824b9640f3450f23218b142f15db24894c73da61
Parents: 8219743
Author: Alex Harui <ah...@apache.org>
Authored: Sun Oct 20 20:42:12 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Sun Oct 20 20:42:12 2013 -0700

----------------------------------------------------------------------
 frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/824b9640/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js b/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js
index 657a7b6..c9608f8 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js
@@ -84,7 +84,7 @@ org.apache.flex.core.UIBase.prototype.addElementAt = function(c, index) {
   else
   {
     this.element.insertBefore(c.element,
-            this.getChildAt(index));
+            children[index]);
     c.addedToParent();
   }
 };