HTMLPictureElement:
- opera = "11.6 - 29"
matchMedia:
- android = "2.1 - 2.3"
matchMedia:
- opera = "11.5 - 12.1"
WebAnimations:
/** | |
* Used to find out whether an object contains a circular reference. | |
* @param {*} rootObject The object we want to search within for circular references | |
* @returns {bool} Returns true if a circular reference was found, otherwise returns false | |
*/ | |
function containsCircularPaths(rootObject) { | |
// Used to keep track of all the values the rootObject contains | |
const traversedValues = new WeakSet(); | |
/** |
const data = { | |
"symbol.description": { | |
safari: "12.1" | |
}, | |
"array.is-array": { | |
opera: "10.50" | |
}, | |
"array.join": { | |
safari: "7.1" | |
}, |
HTMLPictureElement:
matchMedia:
matchMedia:
WebAnimations:
'use strict'; | |
module.exports.hello = (event, context, callback) => { | |
callback(null, { | |
body: "hello", | |
statusCode: 200 | |
}); | |
}; |
/* eslint-env browser */ | |
'use strict'; | |
const blacklist = [ | |
/^webkit/i, | |
'BeforeInstallPromptEvent', | |
/^Bluetooth/, | |
'CDATASection', | |
'captureEvents', | |
'InputDeviceCapabilities', |
const ndjson = require('ndjson'); | |
const fs = require('fs'); | |
const a = {}; | |
// JSON file generated via Splunk query: | |
// saved-search: https://financialtimes.splunkcloud.com/en-GB/app/search/search?sid=1561552286.4925882 | |
// query: source="/var/log/apps/heroku/origami-build-service-*.log" status="200" index="heroku" "host=origami-build-service" path="/v2/bundles/*" AND NOT path="*/demos/*" | dedup path | table path | |
fs.createReadStream('./obs-modules-1-month-26-june-2019.json') | |
.pipe(ndjson.parse()) |
import React from "react"; | |
import ReactDOM from "react-dom"; | |
import { renderToStaticMarkup } from "react-dom/server"; | |
function Message(props) { | |
console.log(props); | |
return <div>{JSON.stringify(props)}</div>; | |
} | |
class DemoBuilder extends React.Component { |
All contributions to the polyfill service are made under the MIT licence. It is important therefore that you agree to the following when contributing code to the service:
// "Type(x)" is used as shorthand for "the type of x"... | |
function Type(x) { // eslint-disable-line no-unused-vars | |
switch (typeof x) { | |
case 'undefined': | |
return 'undefined'; | |
case 'boolean': | |
return 'boolean'; | |
case 'number': | |
return 'number'; | |
case 'string': |