The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rocket.Chat/packages/rocketchat-file-upload/lib/FileUploadBase.js

26 lines
282 B

10 years ago
/* globals FileUploadBase:true */
FileUploadBase = class FileUploadBase {
10 years ago
constructor(meta, file/*, data*/) {
this.id = Random.id();
this.meta = meta;
this.file = file;
}
getProgress() {
}
getFileName() {
return this.meta.name;
}
start() {
}
stop() {
}
10 years ago
};