context = window rest = window.JK.Rest() logger = context.JK.logger @InstrumentCheckBoxList = React.createClass({ mixins: [Reflux.listenTo(@InstrumentStore,"onInstrumentsChanged")] propTypes: { onItemChanged: React.PropTypes.func.isRequired } getDefaultProps: () -> selectedInstruments: [] getInitialState: () -> {instruments: []} onInstrumentsChanged: (instruments) -> @setState({instruments: instruments}) render: () -> `
` })