substack/persona-id — pull request #4 by zaach (2013-09-12 01:31:39+00:00)
Title: update vendored navigator.id for latest api updates

There've been a few updates to the API in the last couple of months, namely the ability to set the background color of the dialog and use a logo on non-HTTPS sites (the image must still be on an HTTPS host).

Along with PR #3 this would allow for nicer branding in the dialog. Fox example:

```
var options = {
siteName: 'Reflect.js',
backgroundColor: '#ffffff',
siteLogo: 'https://raw.github.com/zaach/reflect.js/master/reflectjs.png'
};

button.addEventListener('click', function () {
if (!persona.id) {
persona.identify(options);
}
else persona.unidentify();
});
```