Skip to content

Commit 32447af

Browse files
committed
docs(global): better docs
1 parent c5a8c00 commit 32447af

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/render/renderer.ts

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,6 @@
44
* Electron, visit:
55
*
66
* https://electronjs.org/docs/tutorial/application-architecture#main-and-renderer-processes
7-
*
8-
* By default, Node.js integration in this file is disabled. When enabling Node.js integration
9-
* in a renderer process, please be aware of potential security implications. You can read
10-
* more about security risks here:
11-
*
12-
* https://electronjs.org/docs/tutorial/security
13-
*
14-
* To enable Node.js integration in this file, open up `main.js` and enable the `nodeIntegration`
15-
* flag:
16-
*
17-
* ```
18-
* // Create the browser window.
19-
* mainWindow = new BrowserWindow({
20-
* width: 800,
21-
* height: 600,
22-
* webPreferences: {
23-
* nodeIntegration: true
24-
* }
25-
* });
26-
* ```
277
*/
288

299
import ReactDOM from "react-dom";
@@ -35,5 +15,3 @@ function render() {
3515
}
3616

3717
render();
38-
39-
console.log('👋 This message is being logged by "renderer.ts", included via webpack');

0 commit comments

Comments
 (0)