Skip to content

Commit

Permalink
index.js require formdata point to formdata.js
Browse files Browse the repository at this point in the history
node require("w3c-xmlhttprequest") broke with Error: Cannot find module 'formdata'
  • Loading branch information
mihop committed Jan 18, 2016
1 parent fc256c5 commit d239fe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

const XMLHttpRequest = require('./xmlhttprequest');
const XMLHttpRequestUpload = require('./xmlhttprequestupload');
const FormData = require('formdata');
const FormData = require('./formdata');

module.exports = {
XMLHttpRequest,
Expand Down

0 comments on commit d239fe3

Please sign in to comment.