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