Skip to content

Commit

Permalink
Remove sensor parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
eastbayjake committed Sep 4, 2014
1 parent 7d92d91 commit db40a42
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/google-places.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ GooglePlaces.prototype.search = function(options, cb) {
options = _.defaults(options, {
location: [42.3577990, -71.0536364],
radius: 10,
sensor: false,
language: 'en',
rankby: 'prominence',
types: []
Expand All @@ -53,7 +52,6 @@ GooglePlaces.prototype.search = function(options, cb) {
GooglePlaces.prototype.autocomplete = function(options, cb) {
options = _.defaults(options, {
language: "en",
sensor: false
});

this._doRequest(this._generateUrl(options, 'autocomplete'), cb);
Expand All @@ -63,7 +61,6 @@ GooglePlaces.prototype.autocomplete = function(options, cb) {
GooglePlaces.prototype.details = function(options, cb) {
options = _.defaults(options, {
reference: options.reference,
sensor: false,
language: 'en'
});

Expand Down

0 comments on commit db40a42

Please sign in to comment.