main.js 259 B

1234567891011121314
  1. (function () {
  2. 'use strict';
  3. const onLoaded = () => {
  4. // Nothing for now
  5. };
  6. if (['interactive', 'complete'].indexOf(document.readyState) !== -1) {
  7. onLoaded();
  8. } else {
  9. document.addEventListener('DOMContentLoaded', onLoaded);
  10. }
  11. })();