mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
Fixing typo
This commit is contained in:
+2
-2
@@ -119,9 +119,9 @@ 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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user