polyfill
Here are 481 public repositories matching this topic...
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
In case of section change in the current page I call a link like:
http://localhost:8080/page/xxxid#section-How+does+Test+work%3F
We use also tab changes on the page, which look like
http://localhost:8080/page/xxxid
onPopState state function calls every time when I use this links, and modify the link on a wrong way when I use section change (remove the id):
http://localhost:8080/wiki/sect
-
Updated
Dec 24, 2019 - PHP
-
Updated
Jun 5, 2020 - PHP
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
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:
-
Updated
May 12, 2020 - PHP
-
Updated
May 12, 2020 - PHP
-
Updated
Apr 19, 2020
-
Updated
Jul 19, 2019 - JavaScript
-
Updated
Mar 12, 2020 - JavaScript
-
Updated
Mar 31, 2020 - HTML
Mention polyfill false needs to be set, to use this plugin in the browsers that support range element. This information is somewhere inside as a comment, and using it in modern browsers results in the native range element which is confusing.
in article https://swisnl.github.io/jQuery-contextMenu/docs.html#events, have typo preShow
instead prevShow
-
Updated
Jan 26, 2020 - JavaScript
-
Updated
May 12, 2020 - PHP
-
Updated
May 12, 2020 - PHP
-
Updated
Jul 16, 2019 - HTML
-
Updated
May 12, 2020 - PHP
-
Updated
May 12, 2020 - PHP
We should expose values like the build version number, as well as what dpdb values are being used easily from WebVRPolyfill for debugging
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
-
Updated
May 16, 2020 - JavaScript
Improve this page
Add a description, image, and links to the polyfill topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the polyfill topic, visit your repo's landing page and select "manage topics."
Hello, we are the development team of VS Code extension for debugging React Native apps (vscode-react-native).
whatwg-fetch
package is used in React Native lib. In our extension we debug React Native apps as a Node.js processes. Node JS global context doesn't containDOM
modules, so"exports.DOMException is not a constructor"
exception is g