aboutsummaryrefslogtreecommitdiff
path: root/src/content/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/index.ts')
-rw-r--r--src/content/index.ts18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/content/index.ts b/src/content/index.ts
index 176a157..b575e0d 100644
--- a/src/content/index.ts
+++ b/src/content/index.ts
@@ -1,10 +1,10 @@
-import 'reflect-metadata';
+import "reflect-metadata";
-import Application from './Application';
-import consoleFrameStyle from './site-style';
-import { ConsoleFramePresenterImpl } from './presenters/ConsoleFramePresenter';
-import { container } from 'tsyringe';
-import './di';
+import Application from "./Application";
+import consoleFrameStyle from "./site-style";
+import { ConsoleFramePresenterImpl } from "./presenters/ConsoleFramePresenter";
+import { container } from "tsyringe";
+import "./di";
if (window.self === window.top) {
new ConsoleFramePresenterImpl().initialize();
@@ -13,8 +13,10 @@ if (window.self === window.top) {
try {
const app = container.resolve(Application);
app.run();
-} catch (e) { console.error(e); }
+} catch (e) {
+ console.error(e);
+}
-const style = window.document.createElement('style');
+const style = window.document.createElement("style");
style.textContent = consoleFrameStyle;
window.document.head.appendChild(style);