projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f82590b
)
update with a tree
author
Bret Comnes
<bcomnes@gmail.com>
Tue, 14 Mar 2017 00:18:23 +0000
(17:18 -0700)
committer
Bret Comnes
<bcomnes@gmail.com>
Tue, 14 Mar 2017 00:18:23 +0000
(17:18 -0700)
docs/api/remote.md
patch
|
blob
|
history
diff --git
a/docs/api/remote.md
b/docs/api/remote.md
index
ccbfbf3
..
36b38b8
100644
(file)
--- a/
docs/api/remote.md
+++ b/
docs/api/remote.md
@@
-146,11
+146,24
@@
of the main process.
e.g.
+```
+project/
+├── main
+│ ├── foo.js
+│ └── index.js
+├── package.json
+└── renderer
+ └── index.js
+```
+
```js
// main process: main/index.js
-const { app
, ipcMain
} = require('electron')
+const { app } = require('electron')
app.on('ready', () => {
-//...
+
+// ...
+
+})
```
```js