mirror of
https://github.com/transloadit/uppy.git
synced 2026-01-23 10:25:33 +00:00
19 lines
398 B
JavaScript
19 lines
398 B
JavaScript
const Plugin = require('../../src/plugins/Plugin.js')
|
|
|
|
export default class TestSelector2 extends Plugin {
|
|
constructor (core, opts) {
|
|
super(core, opts)
|
|
this.type = 'selecter'
|
|
this.name = this.constructor.name
|
|
}
|
|
|
|
run (results) {
|
|
this.core.log({
|
|
class: this.constructor.name,
|
|
method: 'run',
|
|
results: results
|
|
})
|
|
|
|
return Promise.resolve('success')
|
|
}
|
|
}
|