git ssb

7+

dinoworm 🐛 / patchcore



Commit 2faca8a26207e316f21cadb9222ed640b7e76c16

removeExif can be an observable

Anders Rune Jensen committed on 5/30/2018, 7:07:21 PM
Parent: d801cfacf24b25bc56f7812fe6ba1fd287ef9a56

Files changed

blob/html/input.jschanged
blob/html/input.jsView
@@ -30,9 +30,10 @@
3030
3131 getFileData(file, function(fileData) {
3232 var orientation = getOrientation(fileData)
3333
34- if (opts.removeExif)
34 + if ((typeof opts.removeExif == 'function' && opts.removeExif()) ||
35 + opts.removeExif)
3536 fileData = removeExif(fileData, orientation)
3637
3738 // handle exif orientation data and resize
3839 if (orientation >= 3 || opts.resize) {

Built with git-ssb-web