summaryrefslogtreecommitdiff
path: root/src/web/app/mobile/scripts/stream.ls
blob: b7810b49aee112b5aac590bbb478f64eb7f8cc52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Stream
#================================

stream = require '../../common/scripts/stream.ls'
riot = require \riot

module.exports = (me) ~>
	s = stream me

	riot.mixin \stream do
		stream: s.event
		get-stream-state: s.get-state
		stream-state-ev: s.state-ev