зеркало из https://github.com/electron/electron.git
Fix docs lint warnings
This commit is contained in:
Родитель
0287f23e3b
Коммит
71c3e97e81
|
@ -44,7 +44,7 @@ loads no native modules after the Web Workers get started.
|
||||||
process.dlopen = () => {
|
process.dlopen = () => {
|
||||||
throw new Error('Load native module is not safe')
|
throw new Error('Load native module is not safe')
|
||||||
}
|
}
|
||||||
new Worker('script.js')
|
let worker = new Worker('script.js')
|
||||||
```
|
```
|
||||||
|
|
||||||
[web-workers]: https://developer.mozilla.org/en/docs/Web/API/Web_Workers_API/Using_web_workers
|
[web-workers]: https://developer.mozilla.org/en/docs/Web/API/Web_Workers_API/Using_web_workers
|
||||||
|
|
Загрузка…
Ссылка в новой задаче