From 9d22e9a9bb820b60902854c67a172dde2a6f6991 Mon Sep 17 00:00:00 2001 From: Jacky Tang Date: Thu, 14 Apr 2016 00:13:16 +0800 Subject: [PATCH 1/2] Fixing typo --- COOKBOOK.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/COOKBOOK.md b/COOKBOOK.md index 290a02f..2382c78 100644 --- a/COOKBOOK.md +++ b/COOKBOOK.md @@ -119,9 +119,9 @@ var jsonp = require('jsonp'); jsonp('http://www.example.com/foo', null, function (err, data) { if (err) { - console.error(error.message); + console.error(err.message); } else { console.log(data); } }); -``` \ No newline at end of file +``` From 0ec09f7be9bc0797e62d5e11664caf09c9228b5a Mon Sep 17 00:00:00 2001 From: Jamison Dance Date: Mon, 18 Apr 2016 14:04:03 -0600 Subject: [PATCH 2/2] Fix typo in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index be573d6..4b13f00 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ axios({ ##### axios(url[, config]) ```js -// Sned a GET request (default method) +// Send a GET request (default method) axios('/user/12345'); ```