mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
standardize all javascript blocks in English docs
This commit is contained in:
@@ -7,9 +7,9 @@ The `shell` module provides functions related to desktop integration.
|
||||
An example of opening a URL in the user's default browser:
|
||||
|
||||
```javascript
|
||||
const {shell} = require('electron');
|
||||
const {shell} = require('electron')
|
||||
|
||||
shell.openExternal('https://github.com');
|
||||
shell.openExternal('https://github.com')
|
||||
```
|
||||
|
||||
## Methods
|
||||
|
||||
Reference in New Issue
Block a user