Эх сурвалжийг харах

Update stale comment: renderer has no access to Node APIs. (#308)

Didrik Nordström 6 жил өмнө
parent
commit
6788309ed8
1 өөрчлөгдсөн 4 нэмэгдсэн , 1 устгасан
  1. 4 1
      renderer.js

+ 4 - 1
renderer.js

@@ -1,3 +1,6 @@
 // This file is required by the index.html file and will
 // be executed in the renderer process for that window.
-// All of the Node.js APIs are available in this process.
+// No Node.js APIs are available in this process because
+// `nodeIntegration` is turned off. Use `preload.js` to
+// selectively enable features needed in the rendering
+// process.