summaryrefslogtreecommitdiffstats
path: root/devtools/client/jsonview/components
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /devtools/client/jsonview/components
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz
firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/client/jsonview/components')
-rw-r--r--devtools/client/jsonview/components/Headers.js2
-rw-r--r--devtools/client/jsonview/components/HeadersPanel.js2
-rw-r--r--devtools/client/jsonview/components/HeadersToolbar.js4
-rw-r--r--devtools/client/jsonview/components/JsonPanel.js4
-rw-r--r--devtools/client/jsonview/components/JsonToolbar.js10
-rw-r--r--devtools/client/jsonview/components/LiveText.js2
-rw-r--r--devtools/client/jsonview/components/MainTabbedArea.js2
-rw-r--r--devtools/client/jsonview/components/SearchBox.js2
-rw-r--r--devtools/client/jsonview/components/TextPanel.js2
-rw-r--r--devtools/client/jsonview/components/TextToolbar.js8
-rw-r--r--devtools/client/jsonview/components/reps/Toolbar.js2
11 files changed, 20 insertions, 20 deletions
diff --git a/devtools/client/jsonview/components/Headers.js b/devtools/client/jsonview/components/Headers.js
index 7477627328..01b6160718 100644
--- a/devtools/client/jsonview/components/Headers.js
+++ b/devtools/client/jsonview/components/Headers.js
@@ -4,7 +4,7 @@
"use strict";
-define(function (require, exports, module) {
+define(function (require, exports) {
const {
createFactory,
Component,
diff --git a/devtools/client/jsonview/components/HeadersPanel.js b/devtools/client/jsonview/components/HeadersPanel.js
index 0e9e17190e..45f216afb5 100644
--- a/devtools/client/jsonview/components/HeadersPanel.js
+++ b/devtools/client/jsonview/components/HeadersPanel.js
@@ -4,7 +4,7 @@
"use strict";
-define(function (require, exports, module) {
+define(function (require, exports) {
const { Component } = require("devtools/client/shared/vendor/react");
const PropTypes = require("devtools/client/shared/vendor/react-prop-types");
const dom = require("devtools/client/shared/vendor/react-dom-factories");
diff --git a/devtools/client/jsonview/components/HeadersToolbar.js b/devtools/client/jsonview/components/HeadersToolbar.js
index f9122c3a31..4033b6f1e4 100644
--- a/devtools/client/jsonview/components/HeadersToolbar.js
+++ b/devtools/client/jsonview/components/HeadersToolbar.js
@@ -4,7 +4,7 @@
"use strict";
-define(function (require, exports, module) {
+define(function (require, exports) {
const { Component } = require("devtools/client/shared/vendor/react");
const PropTypes = require("devtools/client/shared/vendor/react-prop-types");
const { createFactories } = require("devtools/client/shared/react-utils");
@@ -31,7 +31,7 @@ define(function (require, exports, module) {
// Commands
- onCopy(event) {
+ onCopy() {
this.props.actions.onCopyHeaders();
}
diff --git a/devtools/client/jsonview/components/JsonPanel.js b/devtools/client/jsonview/components/JsonPanel.js
index f569aad4c6..6e7aef1f16 100644
--- a/devtools/client/jsonview/components/JsonPanel.js
+++ b/devtools/client/jsonview/components/JsonPanel.js
@@ -4,7 +4,7 @@
"use strict";
-define(function (require, exports, module) {
+define(function (require, exports) {
const {
createFactory,
Component,
@@ -71,7 +71,7 @@ define(function (require, exports, module) {
document.removeEventListener("keypress", this.onKeyPress, true);
}
- onKeyPress(e) {
+ onKeyPress() {
// XXX shortcut for focusing the Filter field (see Bug 1178771).
}
diff --git a/devtools/client/jsonview/components/JsonToolbar.js b/devtools/client/jsonview/components/JsonToolbar.js
index 34e6ed285b..2e3a074538 100644
--- a/devtools/client/jsonview/components/JsonToolbar.js
+++ b/devtools/client/jsonview/components/JsonToolbar.js
@@ -4,7 +4,7 @@
"use strict";
-define(function (require, exports, module) {
+define(function (require, exports) {
const { Component } = require("devtools/client/shared/vendor/react");
const PropTypes = require("devtools/client/shared/vendor/react-prop-types");
@@ -42,19 +42,19 @@ define(function (require, exports, module) {
// Commands
- onSave(event) {
+ onSave() {
this.props.actions.onSaveJson();
}
- onCopy(event) {
+ onCopy() {
this.props.actions.onCopyJson();
}
- onCollapse(event) {
+ onCollapse() {
this.props.actions.onCollapse();
}
- onExpand(event) {
+ onExpand() {
this.props.actions.onExpand();
}
diff --git a/devtools/client/jsonview/components/LiveText.js b/devtools/client/jsonview/components/LiveText.js
index d90c099340..8e3563d2da 100644
--- a/devtools/client/jsonview/components/LiveText.js
+++ b/devtools/client/jsonview/components/LiveText.js
@@ -4,7 +4,7 @@
"use strict";
-define(function (require, exports, module) {
+define(function (require, exports) {
const { Component } = require("devtools/client/shared/vendor/react");
const PropTypes = require("devtools/client/shared/vendor/react-prop-types");
const { findDOMNode } = require("devtools/client/shared/vendor/react-dom");
diff --git a/devtools/client/jsonview/components/MainTabbedArea.js b/devtools/client/jsonview/components/MainTabbedArea.js
index 5341e590ce..d800a1f58c 100644
--- a/devtools/client/jsonview/components/MainTabbedArea.js
+++ b/devtools/client/jsonview/components/MainTabbedArea.js
@@ -4,7 +4,7 @@
"use strict";
-define(function (require, exports, module) {
+define(function (require, exports) {
const { Component } = require("devtools/client/shared/vendor/react");
const PropTypes = require("devtools/client/shared/vendor/react-prop-types");
const { createFactories } = require("devtools/client/shared/react-utils");
diff --git a/devtools/client/jsonview/components/SearchBox.js b/devtools/client/jsonview/components/SearchBox.js
index cb736db85b..45b9ac8752 100644
--- a/devtools/client/jsonview/components/SearchBox.js
+++ b/devtools/client/jsonview/components/SearchBox.js
@@ -4,7 +4,7 @@
"use strict";
-define(function (require, exports, module) {
+define(function (require, exports) {
const { Component } = require("devtools/client/shared/vendor/react");
const PropTypes = require("devtools/client/shared/vendor/react-prop-types");
const dom = require("devtools/client/shared/vendor/react-dom-factories");
diff --git a/devtools/client/jsonview/components/TextPanel.js b/devtools/client/jsonview/components/TextPanel.js
index b5b674b6ce..30cfede326 100644
--- a/devtools/client/jsonview/components/TextPanel.js
+++ b/devtools/client/jsonview/components/TextPanel.js
@@ -4,7 +4,7 @@
"use strict";
-define(function (require, exports, module) {
+define(function (require, exports) {
const { Component } = require("devtools/client/shared/vendor/react");
const PropTypes = require("devtools/client/shared/vendor/react-prop-types");
const dom = require("devtools/client/shared/vendor/react-dom-factories");
diff --git a/devtools/client/jsonview/components/TextToolbar.js b/devtools/client/jsonview/components/TextToolbar.js
index 0ab16ef192..e0bbee2d0f 100644
--- a/devtools/client/jsonview/components/TextToolbar.js
+++ b/devtools/client/jsonview/components/TextToolbar.js
@@ -4,7 +4,7 @@
"use strict";
-define(function (require, exports, module) {
+define(function (require, exports) {
const { Component } = require("devtools/client/shared/vendor/react");
const PropTypes = require("devtools/client/shared/vendor/react-prop-types");
const { createFactories } = require("devtools/client/shared/react-utils");
@@ -33,15 +33,15 @@ define(function (require, exports, module) {
// Commands
- onPrettify(event) {
+ onPrettify() {
this.props.actions.onPrettify();
}
- onSave(event) {
+ onSave() {
this.props.actions.onSaveJson();
}
- onCopy(event) {
+ onCopy() {
this.props.actions.onCopyJson();
}
diff --git a/devtools/client/jsonview/components/reps/Toolbar.js b/devtools/client/jsonview/components/reps/Toolbar.js
index 458acf236f..bed0a77799 100644
--- a/devtools/client/jsonview/components/reps/Toolbar.js
+++ b/devtools/client/jsonview/components/reps/Toolbar.js
@@ -4,7 +4,7 @@
"use strict";
-define(function (require, exports, module) {
+define(function (require, exports) {
const { Component } = require("devtools/client/shared/vendor/react");
const PropTypes = require("devtools/client/shared/vendor/react-prop-types");
const dom = require("devtools/client/shared/vendor/react-dom-factories");