 EventEmitter = require 'events'
 {readFile} = require 'fs'
 {join} = require 'path'
+{watch} = require 'chokidar'
+
 BrowserWindow = require 'browser-window'
 {showOpenDialog} = require 'dialog'
-{watch} = require 'chokidar'
+shell = require 'shell'
 
 mediator = require './mediator'
 events = require './events'

    @browserWindow.webContents.executeJavaScript js
    @browserWindow.setTitle 'README.md'
    @render readMe

  onMoved: => @registerBounds()


        bounds = width: 800, height: 600
      @browserWindow = new BrowserWindow bounds
      @browserWindow.webContents.on 'did-finish-load', @onContentsDidFinishLoad
      @browserWindow.webContents.on 'will-navigate', @onContentsWillNavigate
      @browserWindow.on 'move', @onMoved
      @browserWindow.on 'resize', @onResized
      @browserWindow.on 'closed', @onClosed
