Fix Dropbox example

This commit is contained in:
Kevin van Zonneveld 2015-12-18 12:41:14 +01:00
parent 2445526147
commit 22cd151c32
2 changed files with 7 additions and 7 deletions

View file

@ -1,8 +1,10 @@
import Utils from '../core/Utils';
import TransloaditPlugin from './TransloaditPlugin';
import request from 'superagent';
class DropboxPlugin {
constructor() {
this.name = 'DropboxPlugin';
export default class Dropbox extends TransloaditPlugin {
constructor(core, opts) {
super(core, opts);
this.type = 'selecter';
this.authenticate = this.authenticate.bind(this);
this.connect = this.connect.bind(this);
@ -98,5 +100,3 @@ class DropboxPlugin {
})
}
}
export default new DropboxPlugin()