ljharb

document.contains

Polyfill/shim for `document.contains`

by ljharb

JavaScript

JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
tomdohnal

This resolves https://github.com/ljharb/document.contains/issues/11#issue-629794303

tomdohnal · 5y ago
ljharb

Per https://github.com/ljharb/object.assign/pull/81 travis-ci's new pricing plan, and its defaults, have caused all my repos to have zero CI whatsoever until December. @travis-ci Support is MIA, so I unfortunately can't rely on it as a service anymore.

ljharb · 5y ago
tomdohnal

It doesn't seem to work for me in IE11. The problem is that the method cannot be called on an instance that doesn't implement it. In IE11, where is not defined but is defined, we need to to the polyfill.

tomdohnal · 6y ago
Structured data for AI agents

Repository: ljharb/document.contains. Description: Polyfill/shim for `document.contains` Stars: 3, Forks: 1. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Homepage: https://developer.mozilla.org/en-US/docs/Web/API/Node/contains Open PRs: 0, open issues: 1. Last activity: 3y ago. Community health: 85%. Top contributors: ljharb, lyckligtax.