This repository was archived by the owner on Feb 25, 2018. It is now read-only.

Description
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…