2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-23 20:40:40 +03:00

Merge pull request #294 from jackytck/cookbook-patch

Fixing typo
This commit is contained in:
Nick Uraltsev
2016-04-13 10:08:42 -07:00
+1 -1
View File
@@ -119,7 +119,7 @@ var jsonp = require('jsonp');
jsonp('http://www.example.com/foo', null, function (err, data) { jsonp('http://www.example.com/foo', null, function (err, data) {
if (err) { if (err) {
console.error(error.message); console.error(err.message);
} else { } else {
console.log(data); console.log(data);
} }