Farmbot-Web-App/frontend/entry.tsx

17 lines
451 B
TypeScript
Raw Normal View History

2017-06-29 12:54:02 -06:00
/// <reference path="../typings/index.d.ts" />
2017-10-12 10:47:39 -06:00
/**
* THIS IS THE ENTRY POINT FOR THE MAIN PORTION OF THE WEB APP.
2017-10-12 12:47:29 -06:00
*
* Try to keep this file light. */
2017-06-29 12:54:02 -06:00
import { detectLanguage } from "./i18n";
2018-03-15 08:04:21 -06:00
import { shortRevision } from "./util";
import { stopIE } from "./util/stop_ie";
2017-10-12 12:47:29 -06:00
import { attachAppToDom } from "./routes";
2019-04-02 13:59:37 -06:00
import I from "i18next";
2017-06-29 12:54:02 -06:00
stopIE();
2017-08-09 10:13:04 -06:00
2017-10-12 10:47:39 -06:00
console.log(shortRevision());
2017-06-29 12:54:02 -06:00
2019-04-02 13:59:37 -06:00
detectLanguage().then(config => I.init(config, attachAppToDom));