This commit is contained in:
syuilo 2018-02-13 14:05:41 +09:00
parent f789f111c1
commit 6217449047
1 changed files with 3 additions and 0 deletions

View File

@ -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) {