From: Thomas Tuts Date: Tue, 9 Jun 2015 14:59:14 +0000 (+0200) Subject: Fix grammar and JS example for Chrome command line switches docs X-Git-Tag: v0.28.0~12^2~13 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=29abfa68e91c36465441cff0a5d0b08e5ed2376e;p=electron.git Fix grammar and JS example for Chrome command line switches docs --- diff --git a/docs/api/chrome-command-line-switches.md b/docs/api/chrome-command-line-switches.md index 2ea1a29f..84057129 100644 --- a/docs/api/chrome-command-line-switches.md +++ b/docs/api/chrome-command-line-switches.md @@ -1,6 +1,6 @@ # Supported Chrome command line switches -Following command lines switches in Chrome browser are also Supported in +The following command lines switches in Chrome browser are also supported in Electron, you can use [app.commandLine.appendSwitch][append-switch] to append them in your app's main script before the [ready][ready] event of [app][app] module is emitted: @@ -11,6 +11,7 @@ app.commandLine.appendSwitch('remote-debugging-port', '8315'); app.commandLine.appendSwitch('host-rules', 'MAP * 127.0.0.1'); app.on('ready', function() { + // Your code here }); ```