Skip to content
This repository has been archived by the owner on Feb 25, 2018. It is now read-only.

Releases: anselmh/object-fit

v0.4.1

24 Feb 11:01
Compare
Choose a tag to compare

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:
before: took 18secs to complete script execution
now: takes 14secs to complete script execution

v0.4.0

23 Feb 15:59
Compare
Choose a tag to compare

Add option disableCrossDomain: 'true' to ignore external stylesheets (CORS/CSP) (#7, #15)

Enabled polyfill to initialize after load when being fetched asynchronously

23 Jan 07:22
Compare
Choose a tag to compare