Page MenuHomePhabricator

D9785.id.diff
No OneTemporary

D9785.id.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
Thu, Dec 26, 7:09 AM (10 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2704220
Default Alt Text
D9785.id.diff (444 B)

Event Timeline