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 2014/12/09 06:16:49 UTC
[02/31] git commit: [flex-asjs] [refs/heads/develop] - handle
fx:Declarations in main app
handle fx:Declarations in main app
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/0b84dc0d
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/0b84dc0d
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/0b84dc0d
Branch: refs/heads/develop
Commit: 0b84dc0d18cd298a5a07e75b01a9d441094417fd
Parents: 5712e6c
Author: Alex Harui <ah...@apache.org>
Authored: Tue Nov 18 07:47:27 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Dec 8 20:47:39 2014 -0800
----------------------------------------------------------------------
frameworks/js/FlexJS/src/org/apache/flex/core/Application.js | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0b84dc0d/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js b/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js
index c3a8e1e..5f79200 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/Application.js
@@ -83,6 +83,8 @@ org.apache.flex.core.Application.prototype.start = function() {
this.element = document.getElementsByTagName('body')[0];
this.element.flexjs_wrapper = this;
+ org.apache.flex.utils.MXMLDataInterpreter.generateMXMLInstances(this, null, this.get_MXMLDescriptor());
+
this.dispatchEvent('initialize');
this.initialView.applicationModel = this.model;