googlemaps
Advanced tools
Comparing version 0.1.14 to 0.1.15
@@ -141,3 +141,3 @@ var qs = require('querystring'), | ||
}; | ||
if (mode) args.mode = mode; | ||
if (mode) args.mode = mode.toLowerCase(); | ||
if (avoid) args.avoid = avoid; | ||
@@ -159,4 +159,5 @@ if (units) args.units = units; | ||
}; | ||
if (mode) args.mode = mode; | ||
if (mode) args.mode = mode.toLowerCase(); | ||
// for mode transit you MUST pass either departur or arrival time | ||
@@ -163,0 +164,0 @@ if (mode === 'transit' && ((typeof departureTime === "undefined" || departureTime === null) && (typeof arrivalTime === "undefined" || arrivalTime === null))) { |
{ | ||
"name": "googlemaps", | ||
"version": "0.1.14", | ||
"version": "0.1.15", | ||
"main": "./lib/googlemaps", | ||
@@ -5,0 +5,0 @@ "description": "A simple way to query the Google Maps API from Node.js", |
@@ -1,2 +0,2 @@ | ||
[![Build Status](https://travis-ci.org/moshen/node-googlemaps.svg)](https://travis-ci.org/moshen/node-googlemaps.svg) | ||
[![Build Status](https://travis-ci.org/moshen/node-googlemaps.svg)](https://travis-ci.org/moshen/node-googlemaps) | ||
@@ -3,0 +3,0 @@ # Google Maps API for Node.js |
22570