Polyfill (mostly IE) for CSS object-fit property to fill-in/fit-in images into containers.
This release improves the script performance by about 28%. On a 190KB CSS this means it saves over 4secs exectution time. This is likely to help users facing #22, unresponsive script in Firefox.
The polyfill still has some big performance issues when applied to many images or when a big CSS is on the site but this speeds it up a lot.
Comparison:
Add option disableCrossDomain: 'true'
to ignore external stylesheets (CORS/CSP) (#7, #15)
This fulfills the following feature request: https://github.com/anselmh/object-fit/issues/3