We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d040904 commit 2d6bd72Copy full SHA for 2d6bd72
devtools/client/inspector/panel.js
@@ -6,20 +6,23 @@
6
7
class InspectorPanel {
8
constructor(iframeWindow, toolbox, commands) {
9
- this._inspector = new iframeWindow.Inspector(toolbox, commands);
+ this.#inspector = new iframeWindow.Inspector(toolbox, commands);
10
}
11
+
12
+ #inspector;
13
14
/**
15
* Initialize the inspector
16
*
17
* @param {Object} options: see Inspector.init
18
* @returns {Inspector}
19
*/
20
open(options = {}) {
- return this._inspector.init(options);
21
+ return this.#inspector.init(options);
22
23
24
destroy() {
- this._inspector.destroy();
25
+ this.#inspector.destroy();
26
27
28
exports.InspectorPanel = InspectorPanel;
0 commit comments