blackhydrogen/noop-sewi — pull request #22 by TheFuzzy (2014-10-11 06:51:21+00:00)
Title: Extended ConfiguratorElement and ResourceViewers

All ResourceViewers must inherit ResourceViewer as follows:

```javascript
sewi.AResourceViewer = function(options) {
...
}
sewi.inherits(sewi.AResourceViewer, sewi.ResourceViewer);

sewi.AResourceViewer.prototype.aFunction = function() {
...
```

ResourceViewer now has 2 built-in events:

- `'Closing'` - Close button is clicked
- `'FullscreenToggled'` - Fullscreen button is clicked

All ConfiguratorElements (including ResourceViewers) can now use `trigger()` and `on()` directly, instead of using `getDOM()` as a proxy.