     @browserWindow.webContents.executeJavaScript js
     @browserWindow.setTitle 'README.md'
     @render readMe
+
+  onContentsWillNavigate: (e, url) =>
+    e.preventDefault()
+    shell.openExternal url
 
   onMoved: => @registerBounds()
 

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

EventEmitter = require 'events'
{readFile} = require 'fs'
{join} = require 'path'
{watch} = require 'chokidar'

BrowserWindow = require 'browser-window'
{showOpenDialog} = require 'dialog'
shell = require 'shell'

mediator = require './mediator'
events = require './events'
