johnmccutchan/asset_pack — pull request #13 by davidB (2013-03-11 21:02:35+00:00)
Title: fixes loaders for Firefox

May be loaders could be simplified with code like :

var f = HttpRequest.request(assetRequest.URL, method : 'GET', responseType : 'arraybuffer');
return f.then((httpRequest) {
return (httpRequest.status == 200) ? httpRequest.response : null;
});

and failed instead of "return" null if error ?