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/17 01:08:04 UTC

[2/6] git commit: [flex-asjs] [refs/heads/develop] - get descriptor correctly

get descriptor correctly


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

Branch: refs/heads/develop
Commit: 2fa58c49905471ffd51ff4050ef8683682bbcd03
Parents: 6df4909
Author: Alex Harui <ah...@apache.org>
Authored: Tue Dec 16 15:47:14 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Dec 16 16:07:56 2014 -0800

----------------------------------------------------------------------
 frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2fa58c49/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js b/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
index 17997cf..ac42291 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
@@ -104,6 +104,15 @@ org.apache.flex.core.ViewBase.prototype.document = null;
 
 /**
  * @expose
+ * @return {Array} An array of descriptors.
+ */
+org.apache.flex.core.ViewBase.prototype.get_MXMLDescriptor = function() {
+  return this.MXMLDescriptor;
+};
+
+
+/**
+ * @expose
  * @param {Object} doc The document.
  * @param {Array} desc The descriptor data;
  */