From: Antoine Pairet Date: Wed, 28 Oct 2015 10:40:01 +0000 (+0100) Subject: Fix module types available in the renderer process X-Git-Tag: v0.34.2~8^2~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=0c5fe03999919f97395229d3e9414686770d5cf0;p=electron.git Fix module types available in the renderer process The doc previously stated `only GUI-unrelated` modules are available to the renderer process. I think it should be `only GUI-related` --- diff --git a/docs/api/remote.md b/docs/api/remote.md index 55893c65..14805923 100644 --- a/docs/api/remote.md +++ b/docs/api/remote.md @@ -3,7 +3,7 @@ The `remote` module provides a simple way to do inter-process communication (IPC) between the renderer process (web page) and the main process. -In Electron, only GUI-unrelated modules are available in the renderer process. +In Electron, only GUI-related modules are available in the renderer process. Without the `remote` module, users who want to call a main process API in the renderer process will have to explicitly send inter-process messages to the main process. With the `remote` module, you can invoke methods of the