enyojs/enyo — pull request #144 by sugardave (2012-09-18 05:36:00+00:00)
Title: ENYO-544: use IE XDomainRequest for CORS

Enyo-DCO-1.0-Signed-off-by: Dave Freeman

This changed up the getXMLHttpRequest method in xhr.js a bit. It tries
to deal with IE requirements first before returning a new
XMLHttpRequest. This requires passing the url to getXMLHttpRequest now.

Additonally, XDomainRequest does not have onreadystatechange, so
makeReadyStateHandler adds to onload in that case.