зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1874363 - [devtools] Remove build-debugger react mapping. r=devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D198420
This commit is contained in:
Родитель
2a595108e6
Коммит
ff3e8c83b5
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import {
|
||||
div,
|
||||
main,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import { Component } from "react";
|
||||
import { Component } from "devtools/client/shared/vendor/react";
|
||||
import { toEditorLine, fromEditorLine } from "../../utils/editor";
|
||||
import { isLineBlackboxed } from "../../utils/source";
|
||||
import { isWasm } from "../../utils/wasm";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import { PureComponent } from "react";
|
||||
import { PureComponent } from "devtools/client/shared/vendor/react";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
|
||||
import { getDocument, toEditorLine } from "../../utils/editor";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import { div } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import Breakpoint from "./Breakpoint";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import { PureComponent } from "react";
|
||||
import { PureComponent } from "devtools/client/shared/vendor/react";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
|
||||
import { getDocument } from "../../utils/editor";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import { div } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import { PureComponent } from "react";
|
||||
import { PureComponent } from "devtools/client/shared/vendor/react";
|
||||
import {
|
||||
div,
|
||||
textarea,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import { PureComponent } from "react";
|
||||
import { PureComponent } from "devtools/client/shared/vendor/react";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import {
|
||||
toEditorPosition,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import { connect } from "../../utils/connect";
|
||||
import { Component } from "react";
|
||||
import { Component } from "devtools/client/shared/vendor/react";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import { getSelectedSource, getSelectedBreakableLines } from "../../selectors";
|
||||
import { fromEditorLine } from "../../utils/editor";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import { PureComponent } from "react";
|
||||
import { PureComponent } from "devtools/client/shared/vendor/react";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
|
||||
import { toEditorPosition, getTokenEnd, hasDocument } from "../../utils/editor";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import { connect } from "../../utils/connect";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { PureComponent } from "react";
|
||||
import React, { PureComponent } from "devtools/client/shared/vendor/react";
|
||||
import {
|
||||
div,
|
||||
button,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import { Component } from "react";
|
||||
import { Component } from "devtools/client/shared/vendor/react";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import { toEditorLine, endOperation, startOperation } from "../../utils/editor";
|
||||
import { getDocument, hasDocument } from "../../utils/editor/source-documents";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import { Component } from "react";
|
||||
import { Component } from "devtools/client/shared/vendor/react";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
|
||||
class HighlightLines extends Component {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { PureComponent } from "react";
|
||||
import React, { PureComponent } from "devtools/client/shared/vendor/react";
|
||||
import { span } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import Reps from "devtools/client/shared/components/reps/index";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { PureComponent } from "react";
|
||||
import React, { PureComponent } from "devtools/client/shared/vendor/react";
|
||||
import ReactDOM from "devtools/client/shared/vendor/react-dom";
|
||||
|
||||
import actions from "../../actions";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import { div } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import InlinePreviewRow from "./InlinePreviewRow";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import { div, span } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import { connect } from "../../../utils/connect";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import { div } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import { connect } from "../../../utils/connect";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import React, { PureComponent } from "react";
|
||||
import React, { PureComponent } from "devtools/client/shared/vendor/react";
|
||||
import { connect } from "../../../utils/connect";
|
||||
|
||||
import Popup from "./Popup";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import { div } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import { connect } from "../../utils/connect";
|
||||
import actions from "../../actions";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { PureComponent } from "react";
|
||||
import React, { PureComponent } from "devtools/client/shared/vendor/react";
|
||||
import { div, span } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import { connect } from "../../utils/connect";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { PureComponent } from "react";
|
||||
import React, { PureComponent } from "devtools/client/shared/vendor/react";
|
||||
import {
|
||||
div,
|
||||
ul,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import React, { PureComponent } from "react";
|
||||
import React, { PureComponent } from "devtools/client/shared/vendor/react";
|
||||
import { div } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import { bindActionCreators } from "devtools/client/shared/vendor/redux";
|
||||
import ReactDOM from "devtools/client/shared/vendor/react-dom";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow } from "enzyme";
|
||||
import Breakpoints from "../Breakpoints";
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { mount } from "enzyme";
|
||||
import { ConditionalPanel } from "../ConditionalPanel";
|
||||
import * as mocks from "../../../utils/test-mockup";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow } from "enzyme";
|
||||
|
||||
import DebugLine from "../DebugLine";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow } from "enzyme";
|
||||
|
||||
import SourceFooter from "../Footer";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import {
|
||||
div,
|
||||
ul,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import { Component } from "react";
|
||||
import { Component } from "devtools/client/shared/vendor/react";
|
||||
import {
|
||||
form,
|
||||
div,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import {
|
||||
button,
|
||||
div,
|
||||
|
|
|
@ -3,7 +3,10 @@
|
|||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
// Dependencies
|
||||
import React, { Component, Fragment } from "react";
|
||||
import React, {
|
||||
Component,
|
||||
Fragment,
|
||||
} from "devtools/client/shared/vendor/react";
|
||||
import {
|
||||
div,
|
||||
button,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import { div, span } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import { connect } from "../../utils/connect";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
|
||||
import actions from "../../actions";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import { div } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import { connect } from "../utils/connect";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { PureComponent } from "react";
|
||||
import React, { PureComponent } from "devtools/client/shared/vendor/react";
|
||||
import {
|
||||
div,
|
||||
input,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { PureComponent } from "react";
|
||||
import React, { PureComponent } from "devtools/client/shared/vendor/react";
|
||||
import { div, span } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import { div } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import { connect } from "../../../utils/connect";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow } from "enzyme";
|
||||
|
||||
import ExceptionOption from "../ExceptionOption";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import { div, button } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import {
|
||||
div,
|
||||
input,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import {
|
||||
div,
|
||||
input,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import {
|
||||
div,
|
||||
input,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component, memo } from "react";
|
||||
import React, { Component, memo } from "devtools/client/shared/vendor/react";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
|
||||
import AccessibleImage from "../../shared/AccessibleImage";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
|
||||
export default function FrameIndent({ indentLevel = 1 } = {}) {
|
||||
// \xA0 represents the non breakable space
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
|
||||
import { getLibraryFromUrl } from "../../../utils/pause/frames";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import { connect } from "../../../utils/connect";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow, mount } from "enzyme";
|
||||
import Frame from "../Frame.js";
|
||||
import { makeMockFrame, makeMockSource } from "../../../../utils/test-mockup";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { mount, shallow } from "enzyme";
|
||||
import Frames from "../index.js";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow } from "enzyme";
|
||||
import Group from "../Group.js";
|
||||
import { makeMockFrame, makeMockSource } from "../../../../utils/test-mockup";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { PureComponent } from "react";
|
||||
import React, { PureComponent } from "devtools/client/shared/vendor/react";
|
||||
import {
|
||||
div,
|
||||
button,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import { div, span } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import { connect } from "../../utils/connect";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import { div } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import { connect } from "../../utils/connect";
|
||||
|
|
|
@ -7,7 +7,7 @@ const {
|
|||
Localized,
|
||||
} = require("devtools/client/shared/vendor/fluent-react");
|
||||
|
||||
import React, { PureComponent } from "react";
|
||||
import React, { PureComponent } from "devtools/client/shared/vendor/react";
|
||||
import { div, span } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import { connect } from "../../utils/connect";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import {
|
||||
div,
|
||||
form,
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
const SplitBox = require("devtools/client/shared/components/splitter/SplitBox");
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import {
|
||||
div,
|
||||
input,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow } from "enzyme";
|
||||
import CommandBar from "../CommandBar";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow } from "enzyme";
|
||||
import EventListeners from "../EventListeners";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow } from "enzyme";
|
||||
import Expressions from "../Expressions";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { mount } from "enzyme";
|
||||
import XHRBreakpoints from "../XHRBreakpoints";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import {
|
||||
div,
|
||||
ul,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import { Component } from "react";
|
||||
import { Component } from "devtools/client/shared/vendor/react";
|
||||
import {
|
||||
div,
|
||||
p,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
|
||||
const classnames = require("devtools/client/shared/classnames.js");
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import { cloneElement, Component } from "react";
|
||||
import { cloneElement, Component } from "devtools/client/shared/vendor/react";
|
||||
import {
|
||||
aside,
|
||||
button,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import "./Badge.css";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { button } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { button } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { PureComponent } from "react";
|
||||
import React, { PureComponent } from "devtools/client/shared/vendor/react";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import AccessibleImage from "../AccessibleImage";
|
||||
import { CommandBarButton } from "./";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow } from "enzyme";
|
||||
import { CloseButton } from "../";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow } from "enzyme";
|
||||
import { CommandBarButton, debugBtn } from "../";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow } from "enzyme";
|
||||
import { PaneToggleButton } from "../";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import { Component } from "react";
|
||||
import { Component } from "devtools/client/shared/vendor/react";
|
||||
import { button, div } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import "./Dropdown.css";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { div } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
const classnames = require("devtools/client/shared/classnames.js");
|
||||
import "./Modal.css";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import { div } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
import BracketArrow from "./BracketArrow";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import { Component } from "react";
|
||||
import { Component } from "devtools/client/shared/vendor/react";
|
||||
import {
|
||||
span,
|
||||
button,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import { li, div, ul } from "devtools/client/shared/vendor/react-dom-factories";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { Component } from "react";
|
||||
import React, { Component } from "devtools/client/shared/vendor/react";
|
||||
import {
|
||||
button,
|
||||
div,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React, { PureComponent } from "react";
|
||||
import React, { PureComponent } from "devtools/client/shared/vendor/react";
|
||||
import PropTypes from "devtools/client/shared/vendor/react-prop-types";
|
||||
|
||||
import { connect } from "../../utils/connect";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow } from "enzyme";
|
||||
|
||||
import Accordion from "../Accordion";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow } from "enzyme";
|
||||
|
||||
import Badge from "../Badge";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow } from "enzyme";
|
||||
|
||||
import BracketArrow from "../BracketArrow";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow } from "enzyme";
|
||||
|
||||
import Dropdown from "../Dropdown";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow } from "enzyme";
|
||||
|
||||
import Modal from "../Modal";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { mount } from "enzyme";
|
||||
|
||||
import Popover from "../Popover";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow } from "enzyme";
|
||||
import PreviewFunction from "../PreviewFunction";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow } from "enzyme";
|
||||
import ResultList from "../ResultList";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow } from "enzyme";
|
||||
import configureStore from "redux-mock-store";
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { Provider } from "devtools/client/shared/vendor/react-redux";
|
||||
import configureStore from "redux-mock-store";
|
||||
import { shallow, mount } from "enzyme";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow } from "enzyme";
|
||||
|
||||
import { WelcomeBox } from "../WelcomeBox";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import { shallow } from "enzyme";
|
||||
import WhyPaused from "../SecondaryPanes/WhyPaused.js";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
import React from "react";
|
||||
import React from "devtools/client/shared/vendor/react";
|
||||
import {
|
||||
bindActionCreators,
|
||||
combineReducers,
|
||||
|
|
|
@ -8,9 +8,7 @@ const Babel = require("./babel");
|
|||
const fs = require("fs");
|
||||
const _path = require("path");
|
||||
|
||||
const mappings = {
|
||||
react: "devtools/client/shared/vendor/react",
|
||||
};
|
||||
const mappings = {};
|
||||
|
||||
const mappingValues = Object.values(mappings);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче