From: Jessica Lord Date: Thu, 10 Sep 2015 19:09:37 +0000 (-0700) Subject: Resolve conflicts X-Git-Tag: v0.32.3~17^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=7c287d565d9e05f149e1232f8706ebfd923ed584;p=electron.git Resolve conflicts --- 7c287d565d9e05f149e1232f8706ebfd923ed584 diff --cc docs/api/browser-window.md index f8df8eda,7aa97f75..58a708cf --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@@ -117,7 -117,7 +117,7 @@@ Properties `width` and `height` are req The `BrowserWindow` object emits the following events: - **Note** Some events are only available on specific operating systems and are labeled as such. -+**Note:** Some events are only available on specific operating systems and are labeled as such. ++**Note:** Some events are only available on specific operating systems and are labeled as such. ### Event: 'page-title-updated' @@@ -286,11 -286,13 +286,11 @@@ API is not for programming use * `name` String - Remove the devtools extension whose name is `name`. + Remove the DevTools extension whose name is `name`. -## Instance Methods - -Objects created with `new BrowserWindow` have the following instance methods: +## Instance Properties -+**Note:** Some methods are only available on specific operating systems and are labeled as such. +Objects created with `new BrowserWindow` have the following properties: ```javascript var BrowserWindow = require('browser-window'); @@@ -311,30 -313,16 +311,31 @@@ events **Note:** Users should never store this object because it may become `null` when the renderer process (web page) has crashed. -### `win.devToolsWebContents()` +### `win.devToolsWebContents` + - The `WebContents` of devtools for this window. + + Get the `WebContents` of DevTools for this window. **Note:** Users should never store this object because it may become `null` - when the devtools has been closed. + when the DevTools has been closed. -### `win.id()` +### `win.id` + +The unique ID of this window. + +## Instance Methods + +Objects created with `new BrowserWindow` have the following instance methods: - **Note** Some methods are only available on specific operating systems and are labeled as such. -Get the unique ID of this window. ++**Note:** Some methods are only available on specific operating systems and are labeled as such. + +```javascript +var BrowserWindow = require('browser-window'); + +// In this example `win` is our instance +var win = new BrowserWindow({ width: 800, height: 600 }); + +``` ### `win.destroy()`