Skip to content
Permalink
Browse files

Format code

  • Loading branch information...
zcbenz committed Jan 15, 2019
1 parent eb64b6e commit 4699d8367892fb81faf9cd619f40ccaf5984bb39
Showing with 4 additions and 4 deletions.
  1. +4 −4 docs/tutorial/devtools-extension.md
@@ -30,12 +30,12 @@ Using the [React Developer Tools][react-devtools] as example:
1. Pass the location of the extension to `BrowserWindow.addDevToolsExtension`
API, for the React Developer Tools, it is something like:
```javascript
const path = require('path');
const os = require('os');
const path = require('path')
const os = require('os')
BrowserWindow.addDevToolsExtension(
path.join(os.homedir(),'/Library/Application\Support/Google/Chrome/Default/Extensions/fmkadmapgofadopljbjfkapdkoienihi/0.15.0_0')
);
path.join(os.homedir(), '/Library/Application Support/Google/Chrome/Default/Extensions/fmkadmapgofadopljbjfkapdkoienihi/0.15.0_0')
)
```

**Note:** The `BrowserWindow.addDevToolsExtension` API cannot be called before the

0 comments on commit 4699d83

Please sign in to comment.
You can’t perform that action at this time.