diff options
Diffstat (limited to 'Timeline/ClientApp/src/data/base64.ts')
| -rw-r--r-- | Timeline/ClientApp/src/data/base64.ts | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Timeline/ClientApp/src/data/base64.ts b/Timeline/ClientApp/src/data/base64.ts deleted file mode 100644 index 6d846527..00000000 --- a/Timeline/ClientApp/src/data/base64.ts +++ /dev/null @@ -1,9 +0,0 @@ -export function base64(blob: Blob): Promise<string> {
- return new Promise<string>(resolve => {
- const reader = new FileReader();
- reader.onload = function() {
- resolve((reader.result as string).replace(/^data:.+;base64,/, ''));
- };
- reader.readAsDataURL(blob);
- });
-}
|
