chore: update to standard 12
This commit is contained in:
parent
9e85bdb02c
commit
558fff69e7
198 changed files with 4455 additions and 2940 deletions
|
@ -30,9 +30,9 @@ For instance, the following example quickly shows how the `net` API might be
|
|||
used:
|
||||
|
||||
```javascript
|
||||
const {app} = require('electron')
|
||||
const { app } = require('electron')
|
||||
app.on('ready', () => {
|
||||
const {net} = require('electron')
|
||||
const { net } = require('electron')
|
||||
const request = net.request('https://github.com')
|
||||
request.on('response', (response) => {
|
||||
console.log(`STATUS: ${response.statusCode}`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue