Repository: flex-asjs
Updated Branches:
refs/heads/develop 7472d5bc4 -> a1776a4ab
Converted some type {String} to type {string} in order to quell closure compiler warnings.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/a1776a4a
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/a1776a4a
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/a1776a4a
Branch: refs/heads/develop
Commit: a1776a4abd21a8fceffe51763c36cb4c0b669a83
Parents: 7472d5b
Author: Peter Ent <pent@apache.org>
Authored: Wed Sep 2 10:10:23 2015 -0400
Committer: Peter Ent <pent@apache.org>
Committed: Wed Sep 2 10:10:23 2015 -0400
----------------------------------------------------------------------
.../js/src/org/apache/flex/maps/google/Place.js | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a1776a4a/frameworks/projects/GoogleMaps/js/src/org/apache/flex/maps/google/Place.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/js/src/org/apache/flex/maps/google/Place.js b/frameworks/projects/GoogleMaps/js/src/org/apache/flex/maps/google/Place.js
index 4aff636..9014958 100644
--- a/frameworks/projects/GoogleMaps/js/src/org/apache/flex/maps/google/Place.js
+++ b/frameworks/projects/GoogleMaps/js/src/org/apache/flex/maps/google/Place.js
@@ -62,21 +62,21 @@ org.apache.flex.maps.google.Place.prototype.id = null;
/**
- * @type {String} The name of the place.
+ * @type {string} The name of the place.
*/
-org.apache.flex.maps.google.Place.prototype.name = null;
+org.apache.flex.maps.google.Place.prototype.name = '';
/**
- * @type {String} A reference identifier.
+ * @type {string} A reference identifier.
*/
-org.apache.flex.maps.google.Place.prototype.reference = null;
+org.apache.flex.maps.google.Place.prototype.reference = '';
/**
- * @type {String} A description of the area of the place.
+ * @type {string} A description of the area of the place.
*/
-org.apache.flex.maps.google.Place.prototype.vicinity = null;
+org.apache.flex.maps.google.Place.prototype.vicinity = '';
/**
@@ -84,6 +84,7 @@ org.apache.flex.maps.google.Place.prototype.vicinity = null;
* @return {string} A description of the area of the place.
*/
org.apache.flex.maps.google.Place.prototype.toString = function PlaceToString() {
+ /** @type {string} The result of the function call. */
var results = '';
if (this.name) results = this.name;
if (this.vicinity) results += ' ' + this.vicinity;
|