|
|
@@ -6,14 +6,11 @@
|
|
|
</head>
|
|
|
<body>
|
|
|
<h1>Hello World!</h1>
|
|
|
- <!-- All of the Node.js APIs are available in this renderer process. -->
|
|
|
- We are using Node.js <script>document.write(process.versions.node)</script>,
|
|
|
- Chromium <script>document.write(process.versions.chrome)</script>,
|
|
|
- and Electron <script>document.write(process.versions.electron)</script>.
|
|
|
+ We are using Node.js <span id="node-version"></span>,
|
|
|
+ Chromium <span id="chrome-version"></span>,
|
|
|
+ and Electron <span id="electron-version"></span>.
|
|
|
|
|
|
- <script>
|
|
|
- // You can also require other files to run in this process
|
|
|
- require('./renderer.js')
|
|
|
- </script>
|
|
|
+ <!-- You can also require other files to run in this process -->
|
|
|
+ <script src="./renderer.js"></script>
|
|
|
</body>
|
|
|
</html>
|