浏览代码

Place <script> in <body>

Steeve Droz 8 年之前
父节点
当前提交
3162ba6e63
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      index.html

+ 5 - 5
index.html

@@ -10,10 +10,10 @@
     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>.
-  </body>
 
-  <script>
-    // You can also require other files to run in this process
-    require('./renderer.js')
-  </script>
+    <script>
+      // You can also require other files to run in this process
+      require('./renderer.js')
+    </script>
+  </body>
 </html>