Also use require('electron') in specs

This commit is contained in:
Cheng Zhao
2015-12-11 10:03:20 +08:00
parent 1f9cfc929c
commit c186d70bec
7 changed files with 21 additions and 21 deletions

View File

@@ -277,7 +277,7 @@ class AtomApplication
process.stderr.write(output)
ipcMain.on 'add-recent-document', (event, filename) ->
app.addRecentDocument(filename)
app.addRecentDocument(filename)
setupDockMenu: ->
if process.platform is 'darwin'