summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-02-13 14:05:41 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-02-13 14:05:41 +0900
commit621744904793ff838b175fd94bdfddb4bc0b52e5 (patch)
treedfb755bfacbbca5507bdb42ccec22852e40f4898 /src/web
parentwip (diff)
downloadmisskey-621744904793ff838b175fd94bdfddb4bc0b52e5.tar.gz
misskey-621744904793ff838b175fd94bdfddb4bc0b52e5.tar.bz2
misskey-621744904793ff838b175fd94bdfddb4bc0b52e5.zip
wip
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/common/mios.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/web/app/common/mios.ts b/src/web/app/common/mios.ts
index 550d9e6bfd..a98df1bc03 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) {