mirror of
https://github.com/tenrok/axios.git
synced 2026-06-11 18:02:32 +03:00
Rename axios.createNew to axios.create
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ var defaultInstance = new Axios();
|
||||
|
||||
var axios = module.exports = bind(Axios.prototype.request, defaultInstance);
|
||||
|
||||
axios.createNew = function (defaultConfig) {
|
||||
axios.create = function (defaultConfig) {
|
||||
return new Axios(defaultConfig);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user