Skip to content

Commit

Permalink
fix description
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-atr committed Nov 1, 2022
1 parent 1227b94 commit 65ee825
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scriptlets/trusted-replace-fetch-response.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ import {
* - '*' to match all text content
* - string
* - regular expression
* - replacement — optional, should be set if `pattern` is set. String to replace matched content with. Empty string to remove content.
* - `propsToMatch` - optional, string of space-separated properties to match; possible props:
* - replacement — optional, should be set if `pattern` is set. String to replace the response text content matched by `pattern`. Empty string to remove content.
* - propsToMatch - optional, string of space-separated properties to match; possible props:
* - string or regular expression for matching the URL passed to fetch call; empty string, wildcard `*` or invalid regular expression will match all fetch calls
* - colon-separated pairs `name:value` where
* - `name` is [`init` option name](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#parameters)
Expand Down

0 comments on commit 65ee825

Please sign in to comment.