]> khamidou — GitHub mirrors - electron.git/commitdiff
docs: Put webContents.session under Properties
authorCheng Zhao <zcbenz@gmail.com>
Thu, 19 Nov 2015 13:48:45 +0000 (21:48 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 19 Nov 2015 13:48:45 +0000 (21:48 +0800)
docs/api/web-contents.md

index 2b2efb7d47ba0fe88e28da870ae4d23ba754198c..a716bdc593a7158ad47bda8ded89daf7df797f46 100644 (file)
@@ -225,12 +225,6 @@ The usage is the same with [the `login` event of `app`](app.md#event-login).
 
 The `webContents` object has the following instance methods:
 
-### `webContents.session`
-
-Returns the `session` object used by this webContents.
-
-See [session documentation](session.md) for this object's methods.
-
 ### `webContents.loadURL(url[, options])`
 
 * `url` URL
@@ -705,6 +699,10 @@ win.webContents.on('did-finish-load', function() {
 
 `WebContents` objects also have the following properties:
 
+### `webContents.session`
+
+Returns the [session](session.md) object used by this webContents.
+
 ### `webContents.devToolsWebContents`
 
 Get the `WebContents` of DevTools for this `WebContents`.