 module.exports =
 class StepListView extends View
   @minHeight: 50
-  indexHtmlPath: undefined
+  mainHtmlPath: undefined
   viewHeight: undefined
   panel: null
   subscriptions: null

      @iframe.css height: @iframe.height() + scrollbarHeight

  _actionHandler: (action) ->
    atom.workspace.open @indexHtmlPath
      .then (editor) => @_doAction editor, action
      .catch (error) -> console.error error


    if Array.isArray resources
      resources = resources.map (elem) ->
        return path.join projPath, elem
    resources.push @mainHtmlPath
    @subscriptions.add util.observeFileChange resources, =>
      @iframe.get(0).contentWindow.location.reload();

    @iframe.attr
      'impress-no-init': 'impress-no-init'
      'src': @mainHtmlPath
    @iframe.css
      width: '100%'
      height: @viewHeight
