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
Sat, Nov 23, 10:05 PM (19 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2572054
Default Alt Text
D9785.id32971.diff (444 B)

Event Timeline