uppy/src/plugins/TransloaditPlugin.js
2015-11-24 14:24:59 +01:00

14 lines
403 B
JavaScript

export default class TransloaditPlugin {
// This contains boilerplate that all TransloaditPlugins share - and should not be used
// directly. It also shows which methods final plugins should implement/override,
// this deciding on structure.
constructor(core, opts) {
this.core = core;
this.opts = opts;
this.name = this.constructor.name;
}
run(files) {
return files;
}
}