       notebook
 
     update_view = (notebook) ->
+      # FIXME #163 can't call methods on component specs
       notebook.component.set_cells notebook.cells
 
     clear_notebook = (notebook) ->

      context.run_in_context run_context, fn

      # FIXME since render isn't called, there's never a "changes" event, so scrolling never happens
      output_cell.component.set_component run_context.component_list

    create_bare_output_cell_and_context = (notebook) ->


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