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

Usage of objectfit as global variable in module context #26

@feeela

Description

@feeela

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…

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions