From a8602359f5c045decf713760e7a23b99755cb876 Mon Sep 17 00:00:00 2001 From: kuno Date: Sat, 27 Nov 2010 10:12:02 +0800 Subject: [PATCH] fixed miss-spelling in README --- README.md | 10 ++++++---- sample/sample.js | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 99da2de..f76c8b1 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,17 @@ ###Description -Get geolocation information based on domain or IP address +Get geolocation information based on domain or IP address. ###Data Befor you can use this package, you need to download or buy some data from [www.maxmind.com](http://www.maxmind.com/app/ip-location). There are two free versions data among with some commercial versions. -[GeoIP Country Lite Edition](http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz). -[GeoIP City Lite Edition](http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz) + +GeoIP Country Lite Edition [Download](http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz). + +GeoIP City Lite Edition [Download](http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz) ###Install @@ -41,7 +43,7 @@ There are two free versions data among with some commercial versions. if (err) {throw err;} console.log(name); // prints 'United States' }); -* set the all properties of an exsiting data object to undefined. +* Set all properties of an existing data object to undefined. geoip.close(data); ####City Information diff --git a/sample/sample.js b/sample/sample.js index 7a67858..451a0e0 100644 --- a/sample/sample.js +++ b/sample/sample.js @@ -23,7 +23,7 @@ geoip.Country.name_by_domain(data, 'www.google.com', function(err, name) { console.log(name); // prints 'United States' }); -// Set the all properties of an existing data object to undefined +// Set all properties of an existing data object to undefined geoip.close(data); /* * City geo infomation