stomita/ios-imagefile-megapixel

Change source code for better reading/understanding

frontenddeveloping opened this issue · 1 comments

It's about megapix-image.js source. MegaPixImage is a great javascript solution which fix iOS image file rendering issue for large images, but may be better to make vars with more readable names?

Better variables names will more helpful to understand what, for example, detectVerticalSquash method do and how it works.

Also, it will be better to change code with jsLint/jsHint options?
For example, I just get source code and open in my IDE and find what in detectVerticalSquash iw variable is unused :(

You can fork it and send PR if you like. I'm not actively using this module right now so the support might become late, though.