       mixins: [React.ComponentListMixin]
       render: ->
         React.DOM.div {className: 'document'}, @state.components
+      # FIXME #163 can't call this
       set_cells: (cells) ->
         @set_components _.pluck cells, 'component'
       shouldComponentUpdate: (next_props, next_state) -> @did_state_change next_state

      notebook

    update_view = (notebook) ->
      notebook.component.set_cells notebook.cells

    clear_notebook = (notebook) ->


    OutputCellComponent = React.createClass
      displayName: 'OutputCellComponent'
      # fixme #163 can't call this
      set_component: (@component) ->
        @setState component: @component if @state
      getInitialState: -> component: @component
