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 2015/08/12 20:47:11 UTC
[05/15] git commit: [flex-asjs] [refs/heads/develop] - use
childrenadded since it is optimized to be called once during MXML
construction
use childrenadded since it is optimized to be called once during MXML construction
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/560c3702
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/560c3702
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/560c3702
Branch: refs/heads/develop
Commit: 560c37020148b6d24b7cb93fa88e074d1af4a4ce
Parents: 967b695
Author: Alex Harui <ah...@apache.org>
Authored: Fri Aug 7 17:28:38 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Aug 7 17:28:38 2015 -0700
----------------------------------------------------------------------
frameworks/projects/HTML/js/src/org/apache/flex/html/Container.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/560c3702/frameworks/projects/HTML/js/src/org/apache/flex/html/Container.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/Container.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/Container.js
index 6bc255d..bcd581f 100644
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/Container.js
+++ b/frameworks/projects/HTML/js/src/org/apache/flex/html/Container.js
@@ -60,7 +60,7 @@ org.apache.flex.html.Container.prototype.createElement =
this.positioner.style.position = 'relative';
this.element.flexjs_wrapper = this;
- this.addEventListener('elementAdded',
+ this.addEventListener('childrenAdded',
goog.bind(this.runLayoutHandler, this));
this.addEventListener('elementRemoved',
goog.bind(this.runLayoutHandler, this));