From 4129dce95ab6fdb1fcaafeb9d7300da2bb67cb95 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 16 Nov 2017 23:46:54 +0900 Subject: [PATCH] typo --- src/web/app/common/mixins.ts | 8 ++++---- .../app/common/scripts/messaging-index-stream-manager.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/web/app/common/mixins.ts b/src/web/app/common/mixins.ts index 594906962..98818118f 100644 --- a/src/web/app/common/mixins.ts +++ b/src/web/app/common/mixins.ts @@ -3,7 +3,7 @@ import * as riot from 'riot'; import MiOS from './mios'; import ServerStreamManager from './scripts/server-stream-manager'; import RequestsStreamManager from './scripts/requests-stream-manager'; -import MessagingIndexStream from './scripts/messaging-index-stream-manager'; +import MessagingIndexStreamManager from './scripts/messaging-index-stream-manager'; import DriveStreamManager from './scripts/drive-stream-manager'; export default (mios: MiOS) => { @@ -31,10 +31,10 @@ export default (mios: MiOS) => { (riot as any).mixin('api', { api: mios.api }); - (riot as any).mixin('drive-stream', { driveStream: new DriveStreamManager(mios.i) }); - (riot as any).mixin('stream', { stream: mios.stream }); + (riot as any).mixin('stream', { stream: mios.stream }); + (riot as any).mixin('drive-stream', { driveStream: new DriveStreamManager(mios.i) }); (riot as any).mixin('server-stream', { serverStream: new ServerStreamManager() }); (riot as any).mixin('requests-stream', { requestsStream: new RequestsStreamManager() }); - (riot as any).mixin('messaging-index-stream', { messagingIndexStream: new MessagingIndexStream(mios.i) }); + (riot as any).mixin('messaging-index-stream', { messagingIndexStream: new MessagingIndexStreamManager(mios.i) }); }; diff --git a/src/web/app/common/scripts/messaging-index-stream-manager.ts b/src/web/app/common/scripts/messaging-index-stream-manager.ts index dc386204c..0f08b0148 100644 --- a/src/web/app/common/scripts/messaging-index-stream-manager.ts +++ b/src/web/app/common/scripts/messaging-index-stream-manager.ts @@ -1,7 +1,7 @@ import StreamManager from './stream-manager'; import Connection from './messaging-index-stream'; -export default class ServerStreamManager extends StreamManager { +export default class MessagingIndexStreamManager extends StreamManager { private me; constructor(me) {