blob: d418942ab56d943e4021bc4788e87afb2c559dfe [file]
/**
* @license
* Copyright Google Inc.
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview Main entry point for HTML files to support CSP.
*/
import {styleAlerts, tidyToc} from './mdguide.js';
/**
* Initialize the page.
*/
function main() {
const document = window.document;
styleAlerts(document);
tidyToc(document);
}
// We're loaded as a module which defers execution until after the DOM is ready.
// Which means we don't need to register an event, simply execute.
main();