Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Carson Reinke committed Aug 31, 2020
1 parent 7a4a86b commit e4ad285
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
layout: post
title: "Check for `Element` prevents correctly working under jsdom · Issue #72 ·
que-etc/resize-observer-polyfill · GitHub"
tags:
- link
summary: Under a jsdom environment Element is not an Object. if (typeof Element ===
'undefined' || !(Element instanceof Object)) { return; }
https://github.com/que-etc/resize-observer-polyfill/blob/master/src/ResizeObserverSPI.js#L76…
---

[Check for `Element` prevents correctly working under jsdom · Issue #72 · que-etc/resize-observer-polyfill · GitHub](https://github.com/que-etc/resize-observer-polyfill/issues/72)

<blockquote><p>
Under a jsdom environment Element is not an Object. if (typeof Element === 'undefined' || !(Element instanceof Object)) { return; } https://github.com/que-etc/resize-observer-polyfill/blob/master/src/ResizeObserverSPI.js#L76 Probably sim...
</p></blockquote>

0 comments on commit e4ad285

Please sign in to comment.