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 issues found by gjslint.
Date Wed, 28 May 2014 14:12:49 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop ed352e6ee -> d1efc1541


Fixed issues found by gjslint.


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

Branch: refs/heads/develop
Commit: d1efc15414683b039fa67ea02296eebd38e601cc
Parents: ed352e6
Author: Peter Ent <pent@apache.org>
Authored: Wed May 28 10:12:33 2014 -0400
Committer: Peter Ent <pent@apache.org>
Committed: Wed May 28 10:12:33 2014 -0400

----------------------------------------------------------------------
 frameworks/js/FlexJS/src/org/apache/flex/maps/google/Map.js   | 6 +++---
 frameworks/js/FlexJS/src/org/apache/flex/utils/EffectTimer.js | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d1efc154/frameworks/js/FlexJS/src/org/apache/flex/maps/google/Map.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/maps/google/Map.js b/frameworks/js/FlexJS/src/org/apache/flex/maps/google/Map.js
index e979422..6de8496 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/maps/google/Map.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/maps/google/Map.js
@@ -116,14 +116,14 @@ org.apache.flex.maps.google.Map.prototype.setZoom =
  */
 org.apache.flex.maps.google.Map.prototype.centerOnAddress = function(address) {
   if (!this.geocoder) this.geocoder = new google.maps.Geocoder();
-  this.geocoder.geocode( { "address": address}, goog.bind(this.positionHandler, this));
+  this.geocoder.geocode({ 'address': address}, goog.bind(this.positionHandler, this));
 };
 
 
 /**
  * @expose
  */
-org.apache.flex.maps.google.Map.prototypemarkcurrentlocation = function() {
+org.apache.flex.maps.google.Map.prototype.markcurrentlocation = function() {
   var marker = new google.maps.Marker({
     map: this.map,
     position: this.currentCenter
@@ -153,7 +153,7 @@ org.apache.flex.maps.google.Map.prototype.positionHandler =
   if (status == window['google']['maps']['GeocoderStatus']['OK']) {
     this.currentCenter = results[0]['geometry']['location'];
     this.map['setCenter'](this.currentCenter);
-    window.dispatchEvent("mapCentered");
+    window.dispatchEvent('mapCentered');
   } else {
     alert('Geocode was not successful for the following reason: ' + status);
   }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d1efc154/frameworks/js/FlexJS/src/org/apache/flex/utils/EffectTimer.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/utils/EffectTimer.js b/frameworks/js/FlexJS/src/org/apache/flex/utils/EffectTimer.js
index b7408d3..10e67b8 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/utils/EffectTimer.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/EffectTimer.js
@@ -69,7 +69,7 @@ org.apache.flex.utils.EffectTimer.prototype.stop = function() {
 /**
  * @expose
  * Starts the timer.
- * @return {number} The start time
+ * @return {number} The start time.
  */
 org.apache.flex.utils.EffectTimer.prototype.start = function() {
   this.timerInterval =


Mime
View raw message