4 ms·
Pretty cool, but I have a nitpick: reject() should be called when the loader throws an exception (e.g. if the response is malformed JSON).
by breuleux 12y ago
Pretty cool, but I have a nitpick: reject() should be called when the loader throws an exception (e.g. if the response is malformed JSON).
- antihero 12y agoIf the loader gets malformed JSON it should throw an exception, which should be seen as a rejection, I think.