From 2edf4da8590b257a9bd9695516a5256586d6dcfd Mon Sep 17 00:00:00 2001 From: rhysd Date: Wed, 16 Aug 2017 02:23:36 +0900 Subject: [PATCH] fix some optional args docs --- docs/api/session.md | 2 +- docs/api/webview-tag.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/session.md b/docs/api/session.md index a6e89a647d8a..34fd8c481d54 100644 --- a/docs/api/session.md +++ b/docs/api/session.md @@ -26,7 +26,7 @@ The `session` module has the following methods: ### `session.fromPartition(partition[, options])` * `partition` String -* `options` Object +* `options` Object (optional) * `cache` Boolean - Whether to enable cache. Returns `Session` - A session instance from `partition` string. When there is an existing diff --git a/docs/api/webview-tag.md b/docs/api/webview-tag.md index f4445872d01c..4dad26a8dd5b 100644 --- a/docs/api/webview-tag.md +++ b/docs/api/webview-tag.md @@ -405,7 +405,7 @@ Injects CSS into the guest page. ### `.executeJavaScript(code, userGesture, callback)` * `code` String -* `userGesture` Boolean - Default `false`. +* `userGesture` Boolean (optional) - Default `false`. * `callback` Function (optional) - Called after script has been executed. * `result` Any