///<reference path="global.d.ts"/>
// We use require here, so typescript don't optimize them out.

window["Leaf"] = require("./lib/leaf")
require("./R")
require("./settings")
import { App } from "./app"

if (document.readyState === "complete") {
    App.initialize()
} else {
    document.onreadystatechange = () => {
        if (document.readyState === "complete") {
            App.initialize()
        }
    }
}
