         height:         'number'
         el:             'element'
         selector:       'string'
-        domRoot:        'element'
+        container:      'element'
         reactRoot:      'object'
         lanes:          'element'
         modalProps:     'object'

    constructor: ->
        super
        ALL_INSTANCES.push(this)
        return unless @selector
        @domRoot = document.body.querySelector(@selector)
        _.dom(@domRoot).addClass('lanes-root')
        Lanes.fatal("Root selector #{@selector} not found") unless @domRoot
        _.dom(@domRoot).html = "<div class='lanes'/>"
        this.lanes = @domRoot.querySelector('.lanes')

        Lanes.lib.ResizeSensor(@domRoot, _.debounce( =>
            @_updateDimensions()
        , 250))
        this._updateDimensions()



    onBoot: ->
        prev = _.dom(this.container.previousElementSibling)
        if @useHistory
            @initializeHistory()
        else
