question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

nextElementSibling, previousElementSibling polyfills

See original GitHub issue

Hey folks,

We are using nextElementSibling and previousElementSibiling polyfills that were in the polyfill-service library, but they don’t seem to be in the new repo.

Is there any documentation why this is? I would be interested in adding these back to this version if you’d be interested too.

https://github.com/Financial-Times/polyfill-service/pull/1062/files#diff-b45a1197b842728cb76b624b6ba7d739

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
NickColleycommented, Feb 24, 2020

Thanks 💌

0reactions
JakeChampioncommented, Feb 24, 2020

@nickcolley the string in config.toml.browsers are SemVer ranges. The * is the SemVer range for any version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NonDocumentTypeChildNode.nextElementSibling
The NonDocumentTypeChildNode.nextElementSibling read-only property returns the element immediately following the specified one in its parent's children list ...
Read more >
Get next / previous element using JavaScript? - Stack Overflow
Why use my solution? previousElementSibling supported from IE9. document.addEventListener needs a polyfill. previousSibling might return a text. Please note i ...
Read more >
Element.previousElementSibling - Web APIs - MDN Web Docs
The Element.previousElementSibling read-only property returns the Element immediately prior to the specified one in its parent's children ...
Read more >
Finding the next and previous sibling elements that match a ...
You can use the previousElementSibling and nextElementSibling ... You should include a polyfill for it to make sure these work properly.
Read more >
js-polyfills - npm
nextElementSibling , e = element.previousElementSibling (for IE8); Node constants: Node.ELEMENT_NODE , etc (for IE8-) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found