import { autoInitStandardDetailPages } from '../core/app-detail-page-factory.js';

export function initStandardDetailPages(root = document) {
  return autoInitStandardDetailPages(root);
}

if (document.readyState === 'loading') {
  document.addEventListener('DOMContentLoaded', () => initStandardDetailPages());
} else {
  initStandardDetailPages();
}
