Skip to content

Commit

Permalink
Documentation update
Browse files Browse the repository at this point in the history
Adding the `sameOrigin` parameter added to `findMatchingRoute` in GoogleChrome#2505 to the documentation block
  • Loading branch information
cebjyre authored Mar 16, 2021
1 parent d39796c commit f160bb1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/workbox-routing/src/Router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,8 @@ class Router {
*
* @param {Object} options
* @param {URL} options.url
* @param {boolean} options.sameOrigin The result of comparing `url.origin`
* against the current origin.
* @param {Request} options.request The request to match.
* @param {Event} options.event The corresponding event.
* @return {Object} An object with `route` and `params` properties.
Expand Down

0 comments on commit f160bb1

Please sign in to comment.