1.4.1 • Published 8 years ago

xhrpolyfill v1.4.1

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

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

1.4.1

8 years ago

1.4.0

8 years ago

1.3.0

10 years ago

1.2.0

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago