bbcrd/peaks.js — pull request #11 by oncletom (2014-01-31 15:59:48+00:00)
Title: Multiple instances of peaks

At the moment `peaks` is a singleton instance.

`peaks` should be the `window`/AMD module constructor instance, thus `peaks.init()` would return a valid API instance of Peaks.

```js
var p = peaks.init();

p.time.getCurrentTime();
//...
```