30 lines
586 B
CoffeeScript
30 lines
586 B
CoffeeScript
context = window
|
|
ChannelGroupIds = context.JK.ChannelGroupIds
|
|
MixerActions = @MixerActions
|
|
ptrCount = 0
|
|
|
|
@SessionStatsHover = React.createClass({
|
|
|
|
propTypes: {
|
|
clientId: React.PropTypes.string
|
|
}
|
|
|
|
mixins: [Reflux.listenTo(@SessionStatsStore, "onStatsChanged")]
|
|
|
|
render: () ->
|
|
`<div>
|
|
|
|
</div>`
|
|
|
|
onStatsChanged: (stats) ->
|
|
@setState({stats: stats})
|
|
|
|
getInitialState: () ->
|
|
{stats: window.SessionStatsStore.stats}
|
|
|
|
|
|
closeHover: (e) ->
|
|
e.preventDefault()
|
|
$container = $(this.getDOMNode()).closest('.react-holder')
|
|
$container.data('bt').btOff()
|
|
}) |