Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
/**
* @param {Function} callback
*/
export const ready = (callback) => {
if (document.readyState !== 'loading') {
callback();
} else {
document.addEventListener('DOMContentLoaded', callback);
}