From 67a09d9fe0c02208edd96fc95d5984504bb7e992 Mon Sep 17 00:00:00 2001 From: tinydew4 Date: Mon, 24 Oct 2016 06:34:09 +0000 Subject: [PATCH] Fix typo, and trimming. --- docs/api/protocol.md | 1 - docs/api/session.md | 6 +++--- docs/api/structures/desktop-capturer-source.md | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/api/protocol.md b/docs/api/protocol.md index f689b38e3d60..4050ea110fac 100644 --- a/docs/api/protocol.md +++ b/docs/api/protocol.md @@ -286,7 +286,6 @@ which sends a new HTTP request as a response. * `completion` Function (optional) * `error` Error - Remove the interceptor installed for `scheme` and restore its original handler. [net-error]: https://code.google.com/p/chromium/codesearch#chromium/src/net/base/net_error_list.h diff --git a/docs/api/session.md b/docs/api/session.md index 1c1030ac4267..2d0ee42c735f 100644 --- a/docs/api/session.md +++ b/docs/api/session.md @@ -549,9 +549,9 @@ The following methods are available on instances of `WebRequest`: The `listener` will be called with `listener(details, callback)` when a request is about to occur. -The `uploadData` is an array of `UploadData` objects: +The `uploadData` is an array of `UploadData` objects. -The `callback` has to be called with an `response` object: +The `callback` has to be called with an `response` object. #### `webRequest.onBeforeSendHeaders([filter, ]listener)` @@ -575,7 +575,7 @@ TCP connection is made to the server, but before any http data is sent. * `requestHeaders` Object (optional) - When provided, request will be made with these headers. -The `callback` has to be called with an `response` object: +The `callback` has to be called with an `response` object. #### `webRequest.onSendHeaders([filter, ]listener)` diff --git a/docs/api/structures/desktop-capturer-source.md b/docs/api/structures/desktop-capturer-source.md index 292bd014bdfc..3ebe4ce49c70 100644 --- a/docs/api/structures/desktop-capturer-source.md +++ b/docs/api/structures/desktop-capturer-source.md @@ -9,6 +9,6 @@ title. * `thumbnail` [NativeImage](../native-image.md) - A thumbnail image. **Note:** There is no guarantee that the size of the thumbnail is the same as the - `thumnbailSize` specified in the `options` passed to + `thumbnailSize` specified in the `options` passed to `desktopCapturer.getSources`. The actual size depends on the scale of the screen or window.