Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removing hardcoded api key

  • Loading branch information...
commit 062128b3db2a6028796e57ca4e1802af3bbc3797 1 parent f88c570
@dhcole dhcole authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 MapBox.js
View
7 MapBox.js
@@ -233,8 +233,8 @@ function gcDialog() {
// Geocode selected range with user-selected api and key
function geocode(e) {
var address = '',
- api = 'yahoo', //e.parameter.apiBox,
- key = '0m1ivXjV34FJTFL7uW2WL5CbNIJrL14loXYnp2bqE3baaED9xpb_g2T9Puli2qhMdCUXtBbqPprTXqpa5d.o3Q--', //e.parameter.keyBox,
+ api = e.parameter.apiBox,
+ key = e.parameter.keyBox,
response = {},
rowData = activeRange.getValues(),
topRow = activeRange.getRow(),
@@ -414,5 +414,6 @@ function cleanCamel(str) {
.replace(/\s/g, '')
.replace(/[^\w]/g, '')
.replace(/[^\w]/g, '')
- .replace(/^(.)/, function($1) { return $1.toLowerCase(); });
+ .replace(/[^\w]/g, '')
+ .replace(/^(.)/, function($1) { return $1.toLowerCase(); });
}
Please sign in to comment.
Something went wrong with that request. Please try again.