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:
ec16c6a
)
:memo: Update as upstream
author
Plusb Preco
<plusb21@gmail.com>
Fri, 11 Dec 2015 05:26:01 +0000
(14:26 +0900)
committer
Plusb Preco
<plusb21@gmail.com>
Fri, 11 Dec 2015 05:26:01 +0000
(14:26 +0900)
[ci skip]
docs/api/browser-window.md
patch
|
blob
|
history
diff --git
a/docs/api/browser-window.md
b/docs/api/browser-window.md
index
2fbd154
..
00ea09b
100644
(file)
--- a/
docs/api/browser-window.md
+++ b/
docs/api/browser-window.md
@@
-4,8
+4,12
@@
The `BrowserWindow` class gives you the ability to create a browser window. For
example:
```javascript
+// 메인 프로세스에서
const BrowserWindow = require('electron').BrowserWindow;
+// 또는 랜더러 프로세스에서
+const BrowserWindow = require('electron').remote.BrowserWindow;
+
var win = new BrowserWindow({ width: 800, height: 600, show: false });
win.on('closed', function() {
win = null;