xhr-readystate.js
v0.1.0
Published
XMLHttpRequest ready state map for Node.js and the browser.
Readme
xhr-readystate.js

XMLHttpRequest ready state map for Node.js and the browser.
Example
var state = require('xhr-readystate');
if (xhr.readyState == state.DONE) console.log(xhr.responseText);Installation
$ component install wilmoore/xhr-readystate.js$ bower install xhr-readystate.js$ volo add wilmoore/xhr-readystate.jsdownload
% curl -#O https://raw.github.com/wilmoore/xhr-readystate.js/master/xhr-readystate.jsuse
<script src="xhr-readystate.js"></script>
License
MIT

