Example vscode config files used to exclude derived folders in my project.
See also jsconfig.json
https://stackoverflow.com/a/63190345/245966
(function() { | |
var isIE = typeof document.documentMode !== 'undefined' | |
var chromeVersion = navigator.userAgent.match(/Chrome\/(\d+)/) || undefined | |
chromeVersion = chromeVersion && parseInt(chromeVersion[1]) | |
var firefoxVersion = navigator.userAgent.match(/Firefox\/(\d+)/) || undefined | |
firefoxVersion = firefoxVersion && parseInt(firefoxVersion[1]) | |
polyfillIfNeeded().then(() => { | |
// we (ab)use synchronous `require`, which is not standard JS (but is provided by webpack) | |
require('./app.js').start() | |
}) | |
function polyfillIfNeeded(callback) { | |
if (browserSupportsAllFeatures()) { | |
return Promise.resolve() | |
} else { |
Example vscode config files used to exclude derived folders in my project.
See also jsconfig.json
https://stackoverflow.com/a/63190345/245966
Sometimes I have very elaborate test config which I want to reuse, but slightly change one thing (e.g. add one param to URL). I can easily re-run the test with exact same config, but it's not easy to slightly change config and re-run. You need to re-create the config from scratch by checking multiple checkboxes, and hoping you come up with same exact set of params as before
It's apparently possible to override medianMetric
param to tell WPT how to choose the median run.
It would be nice to use a custom metric for that (say the first perf entry marked with performance.mark('WptEndMetric')
).
Maybe it's already possible?
// app.js | |
import { criticalHelper } from './utils.js' | |
let foo = criticalHelper(); | |
// utils.js | |
import { nestedHelper } from './nested_helper.js' | |
export function criticalHelper() {/*...*/} | |
export function otherHelper(str) { | |
// nestedHelper recursively depends on 5k of code |
If you landed on this page, you probably found a message like this in your logs:
This page is using deprecated Dailymotion postMessage API communication format that will be soon removed.
Please update your code. See https://gist.github.com/jakub-g/89613ccf35a98577ab9c8b9f20955eab for details.
-cookie -sourcemap -corb -cors |
https://www.polskieradio.pl/9/4292/Artykul/2511579,LP3-za-nami-1998-notowanie 16 maja 2020 14h50
wykomentowana linia 1942 w HTML:
//window.location.replace("https://www.polskieradio.pl/error/500.html");