Skip to content

Commit

Permalink
Upgrade eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
nchaulet committed Mar 15, 2020
1 parent 14ff350 commit f967a42
Show file tree
Hide file tree
Showing 4 changed files with 460 additions and 649 deletions.
4 changes: 2 additions & 2 deletions lib/geocoder/heregeocoder.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ util.inherits(HereGeocoder, AbstractGeocoder);

Object.defineProperties(HereGeocoder.prototype, {
// Here geocoding API endpoint
"_geocodeEndpoint": {
'_geocodeEndpoint': {
get: function() {
return this.options.production ? 'https://geocoder.api.here.com/6.2/geocode.json' : 'https://geocoder.cit.api.here.com/6.2/geocode.json';
}
},

// Here reverse geocoding API endpoint
"_reverseEndpoint": {
'_reverseEndpoint': {
get: function() {
return this.options.production ? 'https://reverse.geocoder.api.here.com/6.2/reversegeocode.json' : 'https://reverse.geocoder.cit.api.here.com/6.2/reversegeocode.json';
}
Expand Down
2 changes: 1 addition & 1 deletion lib/geocoder/virtualearth.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ VirtualEarthGeocoder.prototype._reverse = function(value, callback) {
key: this.options.apiKey
};

var endpoint = this._endpoint + "/" + value.lat + "," + value.lon;
var endpoint = this._endpoint + '/' + value.lat + ',' + value.lon;

this.httpAdapter.get(endpoint, params, function(err, result) {
if (err) {
Expand Down
Loading

0 comments on commit f967a42

Please sign in to comment.