mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-25 19:23:55 +00:00
Fix Dropbox example
This commit is contained in:
parent
2445526147
commit
22cd151c32
2 changed files with 7 additions and 7 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue