mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-19 17:18:17 +09:00
10 lines
195 B
JavaScript
10 lines
195 B
JavaScript
|
import * as riot from 'riot';
|
||
|
import Connection from '../scripts/stream';
|
||
|
|
||
|
export default me => {
|
||
|
const stream = me ? new Connection(me) : null;
|
||
|
riot.mixin('stream', {
|
||
|
stream: stream
|
||
|
});
|
||
|
};
|