summaryrefslogtreecommitdiffstats
path: root/devtools/client/jsonview/components/TextToolbar.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/jsonview/components/TextToolbar.js')
-rw-r--r--devtools/client/jsonview/components/TextToolbar.js8
1 files changed, 4 insertions, 4 deletions
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();
}