flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - Fixed recursive setter call.
Date Wed, 02 Sep 2015 15:39:43 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 0d4a47325 -> c044d36f8


Fixed recursive setter call.


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

Branch: refs/heads/develop
Commit: c044d36f89f452a8730aa66f0517d15721c6ee61
Parents: 0d4a473
Author: Peter Ent <pent@apache.org>
Authored: Wed Sep 2 11:39:40 2015 -0400
Committer: Peter Ent <pent@apache.org>
Committed: Wed Sep 2 11:39:40 2015 -0400

----------------------------------------------------------------------
 .../js/src/org/apache/flex/maps/google/Map.js           | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c044d36f/frameworks/projects/GoogleMaps/js/src/org/apache/flex/maps/google/Map.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/js/src/org/apache/flex/maps/google/Map.js b/frameworks/projects/GoogleMaps/js/src/org/apache/flex/maps/google/Map.js
index e149544..2ab29aa 100644
--- a/frameworks/projects/GoogleMaps/js/src/org/apache/flex/maps/google/Map.js
+++ b/frameworks/projects/GoogleMaps/js/src/org/apache/flex/maps/google/Map.js
@@ -59,6 +59,12 @@ org.apache.flex.maps.google.Map.prototype.searchResults = null;
 
 
 /**
+ * @private
+ */
+org.apache.flex.maps.google.Map.prototype.token_ = null;
+
+
+/**
  * @override
  * @protected
  * @return {Object} The actual element to be parented.
@@ -84,7 +90,11 @@ Object.defineProperties(org.apache.flex.maps.google.Map.prototype, {
     token: {
         /** @this {org.apache.flex.maps.google.Map} */
         set: function(value) {
-            this.token = value;
+            this.token_ = value;
+        },
+        /** @this {org.apache.flex.maps.google.Map} */
+        get: function() {
+            return this.token_;
         }
     },
     /** @export */


Mime
View raw message