README
xhrpolyfill
cross browser xhr object
USAGE
var xhr
var XMLHttpRequest = require('xhrpolyfill') // polyfills window.XMLHttpRequest
xhr = new XMLHttpRequest()
// same as
xhr = XMLHttpRequest()
// same as
xhr = new window.XMLHttpRequest() // polyfilled by the require call above
<!-- Can be used via script tag too after it has been "browserified" -->
<script src="https://wzrd.in/standalone/xhrpolyfill"></script>
Recommendation
If you search for a convenient cross-browser way to make all kinds of AJAX Requests,
I recommend you to check out minixhr