2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-30 15:24:11 +03:00

export Axios fixes #320

This commit is contained in:
Thomas Reggi
2016-05-13 15:28:58 -04:00
parent 580ef523d5
commit 7548f2f79d
+1
View File
@@ -78,6 +78,7 @@ Axios.prototype.request = function request(config) {
var defaultInstance = new Axios(defaults);
var axios = module.exports = bind(Axios.prototype.request, defaultInstance);
module.exports.Axios = Axios
// Expose properties from defaultInstance
axios.defaults = defaultInstance.defaults;