Skip to content

Commit

Permalink
export Axios fixes #320
Browse files Browse the repository at this point in the history
  • Loading branch information
reggi committed May 13, 2016
1 parent 580ef52 commit 7548f2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/axios.js
Expand Up @@ -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;
Expand Down

0 comments on commit 7548f2f

Please sign in to comment.