Version 0.2.2
- Adds the possibility to set your own window settings for the popup :
OAuth.initialize('your_key');
OAuth.popup('provider', {
wnd_settings: {
width: 500,
height: 500,
left: 200,
top: 200
}
})
.done(function (response) {
//...
})
.fail(function (error) {
//...
});
This is especially useful for Chrome extensions, in which the popup has to be launched from the background page, which doesn't have geometry properties set.