Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane Osbourne committed Oct 10, 2024
1 parent 6adef19 commit 9668447
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion build/app/public/js/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -14392,7 +14392,6 @@
/**
* {@inheritDoc common.openInNewTab}
* @type {import("./common.js").openInNewTab}
*
* ```js
* const payload = JSON.stringify({
* "url": "https://help.duckduckgo.com/duckduckgo-help-pages/privacy/web-tracking-protections/"
Expand Down Expand Up @@ -14443,6 +14442,10 @@
/**
* {@inheritDoc common.sendToggleReport}
* @type {import("./common.js").sendToggleReport}
* @example
* ```js
* window.PrivacyDashboard.sendToggleReport()
* ```
*/
sendToggleReport() {
invariant(window.PrivacyDashboard?.sendToggleReport, "sendToggleReport missing");
Expand Down
5 changes: 4 additions & 1 deletion shared/js/browser/android-communication.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ export class PrivacyDashboardJavascriptInterface {
/**
* {@inheritDoc common.openInNewTab}
* @type {import("./common.js").openInNewTab}
*
* ```js
* const payload = JSON.stringify({
* "url": "https://help.duckduckgo.com/duckduckgo-help-pages/privacy/web-tracking-protections/"
Expand Down Expand Up @@ -346,6 +345,10 @@ export class PrivacyDashboardJavascriptInterface {
/**
* {@inheritDoc common.sendToggleReport}
* @type {import("./common.js").sendToggleReport}
* @example
* ```js
* window.PrivacyDashboard.sendToggleReport()
* ```
*/
sendToggleReport() {
invariant(window.PrivacyDashboard?.sendToggleReport, 'sendToggleReport missing')
Expand Down

0 comments on commit 9668447

Please sign in to comment.