n is not defined error in angular app.
Vinod-Sutar opened this issue · comments
Solution: please declare var n=0; before for loop in getStringFromDB method in exif.js.
Thanks
Apparently someone pushed this fix already but didn't publish it to npm.
So if you install this lib via npm install https://github.com/exif-js/exif-js.git
it will be fixed.
就是这个错误,竟然没有修
yes this is the solution to workaround but is this repo not maintained anymore? A patch should be released.