mirror of
https://github.com/tenrok/axios.git
synced 2026-05-27 14:47:43 +03:00
Merge branch 'master' of github.com:mzabriskie/axios
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) {
|
||||
if (err) {
|
||||
console.error(error.message);
|
||||
console.error(err.message);
|
||||
} else {
|
||||
console.log(data);
|
||||
}
|
||||
});
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user