Skip to content

Commit

Permalink
Fix docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamWr committed Jun 18, 2024
1 parent bdea52f commit c2503ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/scriptlets/trusted-replace-fetch-response.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ import {
* - `name` is [`init` option name](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#parameters)
* - `value` is string or regular expression for matching the value of the option passed to fetch call;
* invalid regular expression will cause any value matching
* <!-- markdownlint-disable-next-line line-length -->
* - `logContent` — optional, string, if set to 'logContent' will log original and modified text content of fetch responses.
*
* > Usage with no arguments will log fetch calls to browser console;
Expand Down Expand Up @@ -94,7 +95,7 @@ import {
* example.org#%#//scriptlet('trusted-replace-fetch-response', '*', '', 'example.com')
* ```
*
* 1. Replace "foo" text content with "bar" of all fetch responses for example.com and log original and modified text content
* 1. Replace "foo" text content with "bar" of all fetch responses for example.com and log original and modified text content <!-- markdownlint-disable-line line-length -->
*
* ```adblock
* example.org#%#//scriptlet('trusted-replace-fetch-response', 'foo', 'bar', 'example.com', 'logContent')
Expand Down
3 changes: 2 additions & 1 deletion src/scriptlets/trusted-replace-xhr-response.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ import {
* - `name` — string or regular expression for matching XMLHttpRequest property name
* - `value` — string or regular expression for matching the value of the option
* passed to `XMLHttpRequest.open()` call
* <!-- markdownlint-disable-next-line line-length -->
* - `logContent` — optional, string, if set to 'logContent' will log original and modified text content of XMLHttpRequests.
*
* > Usage with no arguments will log XMLHttpRequest objects to browser console;
Expand Down Expand Up @@ -84,7 +85,7 @@ import {
* example.org#%#//scriptlet('trusted-replace-xhr-response', '*', '', 'example.com')
* ```
*
* 1. Replace "foo" text content with "bar" of all XMLHttpRequests for example.com and log original and modified text content
* 1. Replace "foo" text content with "bar" of all XMLHttpRequests for example.com and log original and modified text content <!-- markdownlint-disable-line line-length -->
*
* ```adblock
* example.org#%#//scriptlet('trusted-replace-xhr-response', 'foo', 'bar', 'example.com', 'logContent')
Expand Down

0 comments on commit c2503ef

Please # to comment.