You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 25, 2018. It is now read-only.
In src/polyfill.getMatchedCSSRules.js you are using objectfit as a global variable, which is not set, if the polyfill is loaded via an AMD module loader.
Code that throws the exception "ReferenceError: objectFit is not defined": if (objectFit.disableCrossDomain == 'true')
Currently the polyfill is not usable when using an AMD loader…
The text was updated successfully, but these errors were encountered:
Any progress on this? I cannot seem to be able to load object-fit with requireJS.
I am willing to spend some time coding a fix for it, but my knowledge of AMD is way too basic. If you could point me into some direction it would be great.
In
src/polyfill.getMatchedCSSRules.js
you are usingobjectfit
as a global variable, which is not set, if the polyfill is loaded via an AMD module loader.Code that throws the exception "ReferenceError: objectFit is not defined":
if (objectFit.disableCrossDomain == 'true')
Currently the polyfill is not usable when using an AMD loader…
The text was updated successfully, but these errors were encountered: