///<reference path="global.d.ts"/>
// We use require here, so typescript don't optimize them out.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
window["Leaf"] = require("./lib/leaf");
require("./R");
require("./settings");
var app_1 = require("./app");
if (document.readyState === "complete") {
    app_1.App.initialize();
}
else {
    document.onreadystatechange = function () {
        if (document.readyState === "complete") {
            app_1.App.initialize();
        }
    };
}
