cee-chen/object-fit-polyfill

TypeError: objectFitPolyfill is not a function

nextgenthemes opened this issue · 2 comments

TypeError: objectFitPolyfill is not a function

I get this error in Firefox/Chromuim with version 2.0

It points to the lines at the bottom if the files where this functions is called. (I tested this locally with the uncompressed files)

Live example: https://www.asoundeffect.com/oscar-nominated-sound-arrival-deepwater-horizon-lala-land-hacksaw-ridge/

Gah, sorry about that - completely my bad! I was testing in IE (which returns a usable function) and forgot to check in Chrome and Firefox, which returns early, resulting in undefined errors. This should be fixed now in the latest commit - let me know if it's working for you!

Yes works, thanks.