From 9d22e9a9bb820b60902854c67a172dde2a6f6991 Mon Sep 17 00:00:00 2001 From: Jacky Tang Date: Thu, 14 Apr 2016 00:13:16 +0800 Subject: [PATCH] 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 +```