Page MenuHomePhabricator

D9785.id32971.diff
No OneTemporary

D9785.id32971.diff

diff --git a/web/media/image-utils.js b/web/media/image-utils.js
--- a/web/media/image-utils.js
+++ b/web/media/image-utils.js
@@ -17,7 +17,8 @@
function getEXIFOrientation(file: File): Promise<?number> {
return new Promise(resolve => {
- EXIF.getData(file, function () {
+ // eslint-disable-next-line no-unused-vars
+ EXIF.getData(file, function (this: File) {
resolve(EXIF.getTag(this, 'Orientation'));
});
});

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 11:02 PM (11 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2580879
Default Alt Text
D9785.id32971.diff (444 B)

Event Timeline