]> khamidou — GitHub mirrors - electron.git/commitdiff
Standardize DevTools
authorJessica Lord <jlord@github.com>
Wed, 9 Sep 2015 21:11:06 +0000 (14:11 -0700)
committerJessica Lord <jlord@github.com>
Wed, 9 Sep 2015 21:11:06 +0000 (14:11 -0700)
docs/api/browser-window.md
docs/api/web-contents.md
docs/api/web-view-tag.md
docs/tutorial/debugging-main-process.md

index 53a9487733b79d01f3b40b177af4550a51752d01..289f96cd21ea0b6f6cdc44a81a3a326bd2c44e48 100644 (file)
@@ -224,15 +224,15 @@ Emitted when the window leaves full screen state triggered by html api.
 
 ### Event: 'devtools-opened'
 
-Emitted when devtools is opened.
+Emitted when DevTools is opened.
 
 ### Event: 'devtools-closed'
 
-Emitted when devtools is closed.
+Emitted when DevTools is closed.
 
 ### Event: 'devtools-focused'
 
-Emitted when devtools is focused / opened.
+Emitted when DevTools is focused / opened.
 
 ### Event: 'app-command' _Windows_
 
@@ -277,7 +277,7 @@ Find a window according to its ID.
 
 * `path` String
 
-Adds devtools extension located at `path`, and returns extension's name.
+Adds DevTools extension located at `path`, and returns extension's name.
 
 The extension will be remembered so you only need to call this API once, this
 API is not for programming use.
@@ -286,7 +286,7 @@ 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
 
@@ -315,10 +315,10 @@ when the renderer process (web page) has crashed.
 
 ### `win.devToolsWebContents()`
 
-Get 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()`
 
@@ -577,7 +577,7 @@ Whether the window's document has been edited.
 ### `win.openDevTools([options])`
 
 * `options` Object (optional). Properties:
-  * `detach` Boolean - opens devtools in a new window
+  * `detach` Boolean - opens DevTools in a new window
 
 Opens the developer tools.
 
index c49b64743bedc6c5f6b9c88900f377ed9a6265a8..7324b6b179765a0241e33b24f293522a6b2f4ecf 100644 (file)
@@ -426,13 +426,13 @@ win.webContents.on("did-finish-load", function() {
 
 * `path` String
 
-Adds the specified path to devtools workspace.
+Adds the specified path to DevTools workspace.
 
 ### `webContents.removeWorkSpace(path)`
 
 * `path` String
 
-Removes the specified path from devtools workspace.
+Removes the specified path from DevTools workspace.
 
 ### `webContents.send(channel[, args...])`
 
index 1d49a3db130cad4e4f5a94d92f98f70f7555b88b..a61625023bff27710a88a7c457196e8f51225d13 100644 (file)
@@ -242,15 +242,15 @@ user action, can take advantage of this option for automation.
 
 ### `<webview>.openDevTools()`
 
-Opens a devtools window for guest page.
+Opens a DevTools window for guest page.
 
 ### `<webview>.closeDevTools()`
 
-Closes the devtools window of guest page.
+Closes the DevTools window of guest page.
 
 ### `<webview>.isDevToolsOpened()`
 
-Returns a boolean whether guest page has a devtools window attached.
+Returns a boolean whether guest page has a DevTools window attached.
 
 ### `<webview>.inspectElement(x, y)`
 
@@ -261,7 +261,7 @@ Starts inspecting element at position (`x`, `y`) of guest page.
 
 ### `<webview>.inspectServiceWorker()`
 
-Opens the devtools for the service worker context present in the guest page.
+Opens the DevTools for the service worker context present in the guest page.
 
 ### `<webview>.setAudioMuted(muted)`
 
index f4e345a2f3a53dd997394fe8c2598617be739437..38c6e61ffcded14b67e400128ac397f3e342b8d9 100644 (file)
@@ -1,6 +1,6 @@
 # Debugging the Main Process
 
-The browser window devtools can only debug the renderer process scripts (i.e.
+The browser window DevTools can only debug the renderer process scripts (i.e.
 the web pages). In order to provide a way to debug the scripts from the main
 process, Electron has provided the `--debug` and `--debug-brk` switches.