-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
28e34f2
commit fd5ab10
Showing
5 changed files
with
15 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
language: node_js | ||
node_js: | ||
- '10' | ||
- '12' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ Just install any of these extension and they'll be activated for you: | |
$ npm install electron-debug | ||
``` | ||
|
||
*Requires Electron 4 or later.* | ||
*Requires Electron 5 or later.* | ||
|
||
<a href="https://www.patreon.com/sindresorhus"> | ||
<img src="https://c5.patreon.com/external/logo/[email protected]" width="160"> | ||
|
@@ -58,10 +58,10 @@ const debug = require('electron-debug'); | |
|
||
debug(); | ||
|
||
let win; | ||
let mainWindow; | ||
(async () => { | ||
await app.whenReady(); | ||
win = new BrowserWindow(); | ||
mainWindow = new BrowserWindow(); | ||
})(); | ||
``` | ||
|
||
|
@@ -76,7 +76,7 @@ Install keyboard shortcuts and optionally activate DevTools on each created `Bro | |
|
||
#### options | ||
|
||
Type: `Object` | ||
Type: `object` | ||
|
||
##### isEnabled | ||
|
||
|
@@ -92,8 +92,8 @@ Show DevTools on each created `BrowserWindow`. | |
##### devToolsMode | ||
|
||
Type: `string`<br> | ||
Default: `undocked`<br> | ||
Values: `undocked` `right` `bottom` `previous` `detach` | ||
Default: `'undocked'`<br> | ||
Values: `'undocked'` `'right'` `'bottom'` `'previous'` `'detach'` | ||
|
||
The dock state to open DevTools in. | ||
|
||
|