Browse Source

make main process example shorter

Bret Comnes 8 years ago
parent
commit
85c48a2336
1 changed files with 1 additions and 5 deletions
  1. 1 5
      docs/api/remote.md

+ 1 - 5
docs/api/remote.md

@@ -159,11 +159,7 @@ project/
 ```js
 // main process: main/index.js
 const { app } = require('electron')
-app.on('ready', () => {
-
-// ...
-
-})
+app.on('ready', () => {/* ... */})
 ```
 
 ```js