GoodBoyDigital/pixi.js — pull request #790 by iLaurens (2014-06-13 15:29:24+00:00)
Title: Only use XDomainRequest in IE, if a crossorigin request is needed

The JsonLoader was always using XDomainRequest in IE, even if a cross origin request wasn't needed (for example: new PIXI.AssetLoader(myJsonAssets, false);).

Due to this, the response headers from the request were checked on cross origin rules. Which doesn't make sense if the request is to the same host, resulting in the request to fail if the host from the same origin doesn't respond with these headers.