oncletom/Imager.jsx — pull request #2 by oncletom (2014-11-26 15:30:51+00:00)
Title: window.onresize to trigger individual images update

What would be the best way for individual images to subscribe to `resize` events without keeping reference to these elements?

Probably by subscribing to the `onImagesReplaced` on `Imager.ready`.

```js
var Imager = require('imager.jsx');
var ResponsiveImage = Imager({ onResize: true });

React.createClass({
render: function(){
return (

);
}
});
```