mirror of
https://github.com/tenrok/axios.git
synced 2026-06-23 20:40:40 +03:00
Merge branch 'master' of github.com:mzabriskie/axios
This commit is contained in:
+1
-1
@@ -119,7 +119,7 @@ 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