📝 Update as upstream

[ci skip]
This commit is contained in:
Plusb Preco 2015-12-11 14:26:01 +09:00
parent ec16c6a146
commit efac12ed89

View file

@ -4,8 +4,12 @@ The `BrowserWindow` class gives you the ability to create a browser window. For
example: example:
```javascript ```javascript
// 메인 프로세스에서
const BrowserWindow = require('electron').BrowserWindow; const BrowserWindow = require('electron').BrowserWindow;
// 또는 랜더러 프로세스에서
const BrowserWindow = require('electron').remote.BrowserWindow;
var win = new BrowserWindow({ width: 800, height: 600, show: false }); var win = new BrowserWindow({ width: 800, height: 600, show: false });
win.on('closed', function() { win.on('closed', function() {
win = null; win = null;