2
0
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:
Nick Uraltsev
2015-10-23 08:40:46 -07:00
parent 96afe324b3
commit 4ac0fbd1c1
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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);
};