googlemaps
Advanced tools
Comparing version 0.1.18 to 0.1.19
@@ -522,3 +522,7 @@ var qs = require('querystring'), | ||
if (path.length > maxlen) { | ||
throw new Error("Request too long for google to handle (2048 characters)."); | ||
error = new Error("Request too long for google to handle (" + maxlen + " characters)."); | ||
if (typeof callback === 'function') { | ||
return callback(error); | ||
} | ||
throw error; | ||
} | ||
@@ -525,0 +529,0 @@ |
{ | ||
"name": "googlemaps", | ||
"version": "0.1.18", | ||
"version": "0.1.19", | ||
"main": "./lib/googlemaps", | ||
@@ -5,0 +5,0 @@ "description": "A simple way to query the Google Maps API from Node.js", |
22677
476