Chore: update ESLint config

This commit is contained in:
SukkaW
2023-09-28 22:59:19 +08:00
parent d69def0024
commit 3d2afa608c
21 changed files with 315 additions and 315 deletions

View File

@@ -1,9 +1,10 @@
(function () {
'use strict';
const init = () => {
window.adsbygoogle = {
loaded: true,
push: function () {
push() {
}
};
const phs = document.querySelectorAll('.adsbygoogle');
@@ -21,11 +22,11 @@
}
};
if (
document.querySelectorAll('.adsbygoogle').length === 0 &&
document.readyState === 'loading'
document.querySelectorAll('.adsbygoogle').length === 0
&& document.readyState === 'loading'
) {
window.addEventListener('DOMContentLoaded', init, { once: true });
} else {
init();
}
})();
}());