From 621744904793ff838b175fd94bdfddb4bc0b52e5 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 13 Feb 2018 14:05:41 +0900 Subject: [PATCH] wip --- src/web/app/common/mios.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/web/app/common/mios.ts b/src/web/app/common/mios.ts index 550d9e6bf..a98df1bc0 100644 --- a/src/web/app/common/mios.ts +++ b/src/web/app/common/mios.ts @@ -115,6 +115,9 @@ export default class MiOS extends EventEmitter { this.streams.driveStream = new DriveStreamManager(this.i); this.streams.messagingIndexStream = new MessagingIndexStreamManager(this.i); }); + + // TODO: this global export is for debugging. so disable this if production build + (window as any).os = this; } public log(...args) {