mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Backed out changeset 1e70c2d4173d (bug 1561362) for eslint failure on JsonToolbar.js. CLOSED TREE
This commit is contained in:
parent
48f369daff
commit
9e5e4b59da
@ -73,12 +73,12 @@ define(function(require, exports, module) {
|
||||
{ className: "btn collapse", onClick: this.onCollapse },
|
||||
JSONView.Locale["jsonViewer.CollapseAll"]
|
||||
),
|
||||
ToolbarButton(
|
||||
{ className: "btn expand", onClick: this.onExpand },
|
||||
this.props.dataSize > EXPAND_THRESHOLD ?
|
||||
JSONView.Locale["jsonViewer.ExpandAllSlow"] :
|
||||
this.props.dataSize > EXPAND_THRESHOLD
|
||||
? undefined
|
||||
: ToolbarButton(
|
||||
{ className: "btn expand", onClick: this.onExpand },
|
||||
JSONView.Locale["jsonViewer.ExpandAll"]
|
||||
),
|
||||
),
|
||||
div({ className: "devtools-separator" }),
|
||||
SearchBox({
|
||||
actions: this.props.actions,
|
||||
|
@ -31,7 +31,6 @@ jsonViewer.Copy=Copy
|
||||
|
||||
# LOCALIZATION NOTE (jsonViewer.ExpandAll): Label for expanding all nodes
|
||||
jsonViewer.ExpandAll=Expand All
|
||||
jsonViewer.ExpandAllSlow=Expand All (slow)
|
||||
|
||||
# LOCALIZATION NOTE (jsonViewer.CollapseAll): Label for collapsing all nodes
|
||||
jsonViewer.CollapseAll=Collapse All
|
||||
|
Loading…
Reference in New Issue
Block a user