Permalink
Browse files

removing hardcoded api key

  • Loading branch information...
1 parent f88c570 commit 062128b3db2a6028796e57ca4e1802af3bbc3797 @dhcole dhcole committed Jul 9, 2011
Showing with 4 additions and 3 deletions.
  1. +4 −3 MapBox.js
View
@@ -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(); });
}

0 comments on commit 062128b

Please sign in to comment.