You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by ri...@apache.org on 2014/05/23 16:51:51 UTC
[20/50] [abbrv] git commit: Rename reserved word variable in
googlemaps.js
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/pull/1410/merge
Commit: e34726707e9daecce0bb88b7457e43217d306176
Parents: 9b4c3ff
Author: Sam Corbett <sa...@cloudsoftcorp.com>
Authored: Thu May 22 16:09:53 2014 +0100
Committer: Sam Corbett <sa...@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
+);