Skip to content

Commit

Permalink
Revert "Upgrade tree component (firefox-devtools#4215)"
Browse files Browse the repository at this point in the history
This reverts commit 179582c.
  • Loading branch information
jasonLaster committed Oct 2, 2017
1 parent bdf1ff8 commit c2a03dc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 16 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"babel-types": "^6.26.0",
"babylon": "^6.18.0",
"codemirror": "^5.28.0",
"devtools-components": "^0.0.5",
"devtools-components": "^0.0.2",
"devtools-launchpad": "^0.0.100",
"devtools-linters": "^0.0.3",
"devtools-reps": "^0.12.3",
Expand Down
6 changes: 0 additions & 6 deletions src/components/shared/ManagedTree.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@
white-space: nowrap;
overflow: auto;
min-width: 100%;
--tree-indent-border-color: none;
--tree-indent-width: 0;
}

.managed-tree .tree:focus {
outline: none;
}

.managed-tree .tree button {
Expand Down
4 changes: 2 additions & 2 deletions src/components/shared/ManagedTree.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import React, { createFactory, Component } from "react";
import "./ManagedTree.css";

import Components from "devtools-components";
const Tree = createFactory(Components.Tree);
import { Tree as _Tree } from "devtools-components";
const Tree = createFactory(_Tree);

export type Item = {
contents: any,
Expand Down
7 changes: 0 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2836,13 +2836,6 @@ devtools-components@^0.0.2:
version "0.0.2"
resolved "https://registry.yarnpkg.com/devtools-components/-/devtools-components-0.0.2.tgz#4eb22cb5140e65741b00b79a7f76454ff56fa501"

devtools-components@^0.0.5:
version "0.0.5"
resolved "https://registry.yarnpkg.com/devtools-components/-/devtools-components-0.0.5.tgz#1b0c1718a9c0b6e3415f05377f0e5093aef82d9f"
dependencies:
svg-inline-loader "^0.8.0"
svg-inline-react "^1.0.2"

devtools-config@^0.0.15:
version "0.0.15"
resolved "https://registry.yarnpkg.com/devtools-config/-/devtools-config-0.0.15.tgz#1fbe75be3f4dc1159603927fc1dfa64d1d9f1202"
Expand Down

0 comments on commit c2a03dc

Please sign in to comment.