get-context-window.mjs 202 B

123456
  1. // Fixes https://github.com/motiondivision/motion/issues/2270
  2. const getContextWindow = ({ current }) => {
  3. return current ? current.ownerDocument.defaultView : null;
  4. };
  5. export { getContextWindow };