aboutsummaryrefslogtreecommitdiff
path: root/ext/js/app/popup-proxy.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-11-21 12:34:57 -0500
committerGitHub <noreply@github.com>2021-11-21 12:34:57 -0500
commit36967b18397dc7f6414d81584ea37f364195b164 (patch)
tree80d5bf157b2887a640b9e6dce3fb5403cae4a35f /ext/js/app/popup-proxy.js
parent3c798ae36d1181a57de59f03bcf10d3bf7fc9577 (diff)
General refactoring (#2016)
* Remove // Public comments * Fix errors * Remove source parameter from Popup*.setOptionsContext
Diffstat (limited to 'ext/js/app/popup-proxy.js')
-rw-r--r--ext/js/app/popup-proxy.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/js/app/popup-proxy.js b/ext/js/app/popup-proxy.js
index d9e1af8d..85014c47 100644
--- a/ext/js/app/popup-proxy.js
+++ b/ext/js/app/popup-proxy.js
@@ -46,8 +46,6 @@ class PopupProxy extends EventDispatcher {
this._frameOffsetExpireTimeout = 1000;
}
- // Public properties
-
/**
* The ID of the popup.
* @type {string}
@@ -125,15 +123,13 @@ class PopupProxy extends EventDispatcher {
return this._frameId;
}
- // Public functions
-
/**
* Sets the options context for the popup.
* @param {object} optionsContext The options context object.
* @returns {Promise<void>}
*/
- setOptionsContext(optionsContext, source) {
- return this._invokeSafe('setOptionsContext', {id: this._id, optionsContext, source});
+ setOptionsContext(optionsContext) {
+ return this._invokeSafe('setOptionsContext', {id: this._id, optionsContext});
}
/**