 misc_page = require('./misc_page')
 underscore = require('underscore')
 immutable  = require('immutable')
-lodash = require('lodash')
-{delay} = require('awaiting')
 
 {React, ReactDOM, rtypes, rclass, Redux, redux}  = require('./app-framework')
 {Col, Row, Button, ButtonGroup, ButtonToolbar, FormControl, FormGroup, InputGroup, Panel, Well} = require('react-bootstrap')

            return
        if not immutable.is(@props.project_log, next.project_log) or not immutable.is(@props.project_log_all, next.project_log_all) or @props.search != next.search
            delete @_log

    componentDidUpdate: ->
        if @_next_cursor_pos? and @_log? and (@props.project_log_all? or @props.project_log?)
            n = @_next_cursor_pos
            delete @_next_cursor_pos
            await delay(1)
            @window_list_ref.current?.scrollToRow(n)

    get_log: () ->
        if @_log?

            </Col>
        </Row>

exports.ProjectLog = rclass ({name}) ->
    displayName : 'ProjectLog'

