content/static/js: prettify analytics.js
prettier seems to want this file to change.
// falling back to setTimeout with arbitrary timeout
// of 250ms.
if (typeof window.requestIdleCallback !== 'undefined') {
- window.requestIdleCallback(() => {
+ window.requestIdleCallback(
+ () => {
reportUnhandledRejections();
- }, {timeout: 1000});
+ },
+ { timeout: 1000 }
+ );
} else {
window.setTimeout(() => {
reportUnhandledRejections();
