brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rich...@apache.org
Subject [1/4] git commit: Rename reserved word variable in googlemaps.js
Date Tue, 27 May 2014 14:45:12 GMT
Repository: incubator-brooklyn
Updated Branches:
  refs/heads/master 02bf201b6 -> 22bb13113


Rename reserved word variable in googlemaps.js


Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/e3472670
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/e3472670
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/e3472670

Branch: refs/heads/master
Commit: e34726707e9daecce0bb88b7457e43217d306176
Parents: 9b4c3ff
Author: Sam Corbett <sam.corbett@cloudsoftcorp.com>
Authored: Thu May 22 16:09:53 2014 +0100
Committer: Sam Corbett <sam.corbett@cloudsoftcorp.com>
Committed: Thu May 22 16:09:53 2014 +0100

----------------------------------------------------------------------
 usage/jsgui/src/main/webapp/assets/js/view/googlemaps.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/e3472670/usage/jsgui/src/main/webapp/assets/js/view/googlemaps.js
----------------------------------------------------------------------
diff --git a/usage/jsgui/src/main/webapp/assets/js/view/googlemaps.js b/usage/jsgui/src/main/webapp/assets/js/view/googlemaps.js
index 2ce8aee..4bc7549 100644
--- a/usage/jsgui/src/main/webapp/assets/js/view/googlemaps.js
+++ b/usage/jsgui/src/main/webapp/assets/js/view/googlemaps.js
@@ -6,9 +6,9 @@ define(
             // meters squared per entity
             var area_per_entity = 300000000000;
             var local = {
-                addMapToCanvas: function( mapCanvas, lat, long, zoom ) {
+                addMapToCanvas: function( mapCanvas, lat, longitude, zoom ) {
                     var myOptions = {
-                            center: new google.maps.LatLng( lat, long ),
+                            center: new google.maps.LatLng( lat, longitude ),
                             zoom: zoom,
                             mapTypeId: google.maps.MapTypeId.SATELLITE
                     };
@@ -157,4 +157,4 @@ define(
             return local;
         }
         
-);
\ No newline at end of file
+);


Mime
View raw message