/// <reference path="index.d.ts"/>
import { Page } from "./view/page"

let page = new Page()
document.body.appendChild(page.node)
if (document.readyState === "complete") {
    page.initialCheck()
} else {
    document.onreadystatechange = () => {
        if (document.readyState === "complete") {
            page.initialCheck()
        }

    }
}
