Update formatting to prevent '[] ()' sequences (e.g. String[] (optional)), which breaks MD rendering on GitHub and hides the array indication

This commit is contained in:
George Hafiz 2016-11-18 00:34:48 +00:00
parent 3834f0c6a6
commit aac31159b8
6 changed files with 11 additions and 11 deletions

View file

@ -321,7 +321,7 @@ and `will-quit` events will not be emitted.
### `app.relaunch([options])`
* `options` Object (optional)
* `args` String[] (optional)
* `args` String[] - (optional)
* `execPath` String (optional)
Relaunches the app when current instance exits.
@ -462,7 +462,7 @@ Clears the recent documents list.
app to handle `electron://` links, call this method with `electron` as the
parameter.
* `path` String (optional) _Windows_ - Defaults to `process.execPath`
* `args` String[] (optional) _Windows_ - Defaults to an empty array
* `args` String[] - (optional) _Windows_ - Defaults to an empty array
Returns `Boolean` - Whether the call succeeded.
@ -486,7 +486,7 @@ The API uses the Windows Registry and LSSetDefaultHandlerForURLScheme internally
* `protocol` String - The name of your protocol, without `://`.
* `path` String (optional) _Windows_ - Defaults to `process.execPath`
* `args` String[] (optional) _Windows_ - Defaults to an empty array
* `args` String[] - (optional) _Windows_ - Defaults to an empty array
Returns `Boolean` - Whether the call succeeded.
@ -498,7 +498,7 @@ protocol (aka URI scheme). If so, it will remove the app as the default handler.
* `protocol` String - The name of your protocol, without `://`.
* `path` String (optional) _Windows_ - Defaults to `process.execPath`
* `args` String[] (optional) _Windows_ - Defaults to an empty array
* `args` String[] - (optional) _Windows_ - Defaults to an empty array
Returns `Boolean`