Skip to content
#

polyfill

Here are 481 public repositories matching this topic...

eu81273
eu81273 commented May 19, 2017

If the document.domain property is set in the page, _has module throws error "Access is denied" when try to check window's property for example 'hasOwnProperty'.

So I think it is better to change _has module like below.

var hasOwnProperty = {}.hasOwnProperty;
module.exports = function(it, key){
  try {
    return hasOwnProperty.call(it, key);
  } catch(e){
    return 
prabirshrestha
prabirshrestha commented Sep 29, 2017

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.lo
praxiq
praxiq commented Mar 16, 2017

Sometimes it's useful to think of an incompletely-specified date as a range. "March 4" refers to a whole day: from March 4 at 12:00:00 AM to March 5 at 12:00:00 AM. "March 4th 2:00 pm" refers to a whole minute: from March 4th at 2:00:00 PM to March 4th at 2:01:00 PM."

To put it another way, there's a big difference between telling someone, "Do this on March 4th" and "Do this on March 4th at 12:

amilajack
amilajack commented May 3, 2020

Donations will ensure the following:

  • 🔨 Long term maintenance of the project
  • 🛣 Progress on the roadmap
  • 🐛 Quick responses to bug reports and help requests

Bug Bounties

I'm currently too busy to actively maintain this project so I'll be bounties on issues with issuehunt. Donations will be used t

Improve this page

Add a description, image, and links to the polyfill topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the polyfill topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.