Forráskód Böngészése

Place <script> in <body>

Steeve Droz 8 éve
szülő
commit
3162ba6e63
1 módosított fájl, 5 hozzáadás és 5 törlés
  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>