@uppy/core
Version:
Core module for the extensible JavaScript file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Instagram, Dropbox, Google Drive, S3 and more :dog:
16 lines • 386 B
JavaScript
import UIPlugin from '../UIPlugin.js';
export default class InvalidPluginWithoutName extends UIPlugin {
constructor(uppy, opts) {
super(uppy, opts);
this.type = 'acquirer';
this.name = this.constructor.name;
}
run(results) {
this.uppy.log({
class: this.constructor.name,
method: 'run',
results
});
return Promise.resolve('success');
}
}