1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-19 17:18:17 +09:00
hotomoe/src/web/app/common/mixins/stream.js

10 lines
195 B
JavaScript
Raw Normal View History

2017-03-18 20:05:11 +09:00
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
});
};