Skip to content

Commit 83bb3f4

Browse files
author
JelteMX
committed
Bump version
1 parent b02597d commit 83bb3f4

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "filedropper",
33
"widgetName": "FileDropper",
4-
"version": "1.4.0",
4+
"version": "1.4.1",
55
"description": "Drop files in your Mendix Application",
66
"copyright": "Mendix 2020",
77
"author": "Jelte Lagendijk",

src/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<package xmlns="http://www.mendix.com/package/1.0/">
3-
<clientModule name="FileDropper" version="1.4.0" xmlns="http://www.mendix.com/clientModule/1.0/">
3+
<clientModule name="FileDropper" version="1.4.1" xmlns="http://www.mendix.com/clientModule/1.0/">
44
<widgetFiles>
55
<widgetFile path="FileDropper.xml"/>
66
</widgetFiles>

src/store/fileDropperFile.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export class FileDropperFile implements IFileDropperFile {
5757
this.status = "error";
5858
}
5959
// @ts-ignore
60-
} catch (error: any) {
60+
} catch (error) {
6161
this.error = error;
6262
this.status = error;
6363
}
@@ -82,7 +82,7 @@ export class FileDropperFile implements IFileDropperFile {
8282
this.hash = md5(base64);
8383
}
8484
// @ts-ignore
85-
} catch (error: any) {
85+
} catch (error) {
8686
this.status = "error";
8787
this.error = error.message || "unknown error";
8888
this.data = this.base64 = null;

src/util/file.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ export const loadFileInMemory = (file: File, loadWithReader = true): Promise<Fil
4747
reader.onload = ({ target: { result } }: any) => {
4848
if (file.size === 0) {
4949
return resolve({
50-
base64: '',
50+
base64: "",
5151
data: new Blob()
52-
})
52+
});
5353
}
5454
const data = convertBase64ToBlob(result as string, file.type);
5555
resolve({

0 commit comments

Comments
 (0)