Skip to content

Commit

Permalink
typo in app.on code
Browse files Browse the repository at this point in the history
  • Loading branch information
Dani3lSun authored and Dani3lSun committed Jan 20, 2016
1 parent d661913 commit bc22b07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ require('crash-reporter').start({
var mainWindow = null;
var appIcon = null;
// Kill the app when all windows are closed
app.on('mainWindow-all-closed', function() {
app.on('window-all-closed', function() {
if (process.platform != 'darwin') {
app.quit();
}
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require('crash-reporter').start({
var mainWindow = null;
var appIcon = null;
// Kill the app when all windows are closed
app.on('mainWindow-all-closed', function() {
app.on('window-all-closed', function() {
if (process.platform != 'darwin') {
app.quit();
}
Expand Down

0 comments on commit bc22b07

Please sign in to comment.