ponyfill
Here are 52 public repositories matching this topic...
https://developers.google.com/web/updates/2017/09/abortable-fetch
Currently it is only implemented in Firefox 57 and is coming to other browsers soon.
const controller = new AbortController();
const signal = controller.signal;
setTimeout(() => controller.abort(), 5000);
fetch(url, { signal }).then(response => {
return response.text();
}).then(text => {
console.loPromise packages, patterns, chat, and tutorials
-
Updated
Apr 19, 2020
The readme says
It's recommended to use this library in the form of a ponyfill, which doesn't inflict modifications of the global object.
The index.js file of the project does the ponyfill work already. Telling us to use the library in the form of a ponyfill is misleading, it should say something like "Th
Client-side support for CSS custom properties (aka "CSS variables") in legacy and modern browsers
-
Updated
Jun 22, 2020 - JavaScript
Documented in this spec: https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin
This is how it'll be possible to set custom offsets without reimplementing the default scrolling behavior or changing the HTML structure to add wrapping elements with padding to accomplish the same thing.
Polyfill for the AbortController DOM API and abortable fetch (stub that calls catch, doesn't actually abort request).
-
Updated
Mar 13, 2020 - JavaScript
Tiny library (<200B gzip) for deferring something by a "tick"
-
Updated
Oct 14, 2018 - JavaScript
Web Streams, based on the WHATWG spec reference implementation
-
Updated
Jul 3, 2020 - TypeScript
[DEPRECATED] Node.js `os.homedir()` ponyfill
-
Updated
May 31, 2019 - JavaScript
Object.fromEntries() ponyfill (in 6 lines)
-
Updated
May 25, 2020 - JavaScript
-
Updated
Apr 14, 2020 - JavaScript
A curated list of awesome ponyfills for writing cross-platform and cross-browser code.
-
Updated
Jun 5, 2020
[DEPRECATED] Node.js os.tmpdir() ponyfill
-
Updated
May 31, 2019 - JavaScript
A ponyfill/polyfill for browser Promise unhandledrejection events
-
Updated
Mar 29, 2018 - JavaScript
-
Updated
Jun 10, 2020 - TypeScript
A thin react component wrapper bundled with scroll-into-view-if-needed
-
Updated
May 10, 2019 - JavaScript
(A smaller) polyfill for the react context API
-
Updated
Jun 29, 2020 - TypeScript
ES2015 Number.isSafeInteger() ponyfill
-
Updated
Nov 8, 2018 - JavaScript
ES2015 Number.MAX_SAFE_INTEGER ponyfill
-
Updated
Nov 8, 2018 - JavaScript
ES module ponyfill for requestAnimationFrame
-
Updated
Aug 12, 2018 - JavaScript
-
Updated
Jan 26, 2020 - JavaScript
Improve this page
Add a description, image, and links to the ponyfill topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the ponyfill topic, visit your repo's landing page and select "manage topics."


If the document.domain property is set in the page,
_hasmodule throws error "Access is denied" when try to check window's property for example 'hasOwnProperty'.So I think it is better to change
_hasmodule like below.