tdreyno/morlock.js — pull request #13 by stefhatcher (2014-10-21 17:27:06+00:00)
Title: Update to ResponsiveImage to trigger and emit "error" on error of loading an image.

Build fix.

Update to ```ResponsiveImage``` to trigger and emit "error" if an image is not found; provides the ability to bind a callback on error. Example use case:

```
var responsiveImage = ResponsiveImage['createFromElement'](imageElement);
responsiveImage['on']('load', onLoadCallback);
responsiveImage['on']('error', onErrorCalback);
```