GitShow/ljharb/document.contains
ljharb

document.contains

Polyfill/shim for `document.contains`

by ljharb
Star on GitHubForkWebsitenpm

JavaScript

4 stars1 forks2 contributorsQuiet · 3y agoSince 2019MIT

Meet the team

See all 2 on GitHub →
ljharb
ljharb33 contributions
lyckligtax
lyckligtax1 contribution

Languages

View on GitHub →
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

Recent fixes

View closed PRs →
tomdohnal
bind document.bodyMergedPR

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

tomdohnal · 5y ago
ljharb
[Tests] migrate tests to Github ActionsMergedPR

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
Does not work in IE11ClosedIssue

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: 4, 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.

·@ofershap

Replace github.com with gitshow.dev