flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [33/47] git commit: [flex-asjs] [refs/heads/develop] - use proper backing variable
Date Wed, 08 Apr 2015 23:05:52 GMT
use proper backing variable


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

Branch: refs/heads/develop
Commit: 24205c9dffdb418b20d4f05542f0cadd75b7c18b
Parents: f90fadf
Author: Alex Harui <aharui@apache.org>
Authored: Fri Apr 3 16:08:26 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Apr 3 16:08:26 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/24205c9d/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 1a87bec..3c2a1ad 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
@@ -162,7 +162,11 @@ Object.defineProperties(org_apache_flex_core_ViewBase.prototype, {
     'MXMLDescriptor': {
         /** @this {org_apache_flex_core_ViewBase} */
         get: function() {
-            return this.MXMLDescriptor;
+            return this.mxmldd;
+        },
+        /** @this {org_apache_flex_core_ViewBase} */
+        set: function(value) {
+            this.mxmldd = value;
         }
     },
     /**


Mime
View raw message