зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1874363 - [devtools] Remove build-debugger reselect mappings. r=devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D198413
This commit is contained in:
Родитель
2ec413367a
Коммит
ccad545aeb
|
@ -6,7 +6,7 @@ import React, { PureComponent } from "react";
|
||||||
import { div, input, span } from "react-dom-factories";
|
import { div, input, span } from "react-dom-factories";
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
import { connect } from "../../../utils/connect";
|
import { connect } from "../../../utils/connect";
|
||||||
import { createSelector } from "reselect";
|
import { createSelector } from "devtools/client/shared/vendor/reselect";
|
||||||
import actions from "../../../actions";
|
import actions from "../../../actions";
|
||||||
|
|
||||||
import { CloseButton } from "../../shared/Button";
|
import { CloseButton } from "../../shared/Button";
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* 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/>. */
|
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||||
|
|
||||||
import { createSelector } from "reselect";
|
import { createSelector } from "devtools/client/shared/vendor/reselect";
|
||||||
import { getSelectedSource } from "./sources";
|
import { getSelectedSource } from "./sources";
|
||||||
import { getBreakpointsList } from "./breakpoints";
|
import { getBreakpointsList } from "./breakpoints";
|
||||||
import { getFilename } from "../utils/source";
|
import { getFilename } from "../utils/source";
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* 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/>. */
|
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||||
|
|
||||||
import { createSelector } from "reselect";
|
import { createSelector } from "devtools/client/shared/vendor/reselect";
|
||||||
|
|
||||||
import { makeBreakpointId } from "../utils/breakpoint";
|
import { makeBreakpointId } from "../utils/breakpoint";
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* 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/>. */
|
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||||
|
|
||||||
import { createSelector } from "reselect";
|
import { createSelector } from "devtools/client/shared/vendor/reselect";
|
||||||
import { shallowEqual, arrayShallowEqual } from "../utils/shallow-equal";
|
import { shallowEqual, arrayShallowEqual } from "../utils/shallow-equal";
|
||||||
|
|
||||||
import { getSelectedSource, getSourceActorsForSource } from "./";
|
import { getSelectedSource, getSourceActorsForSource } from "./";
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* 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/>. */
|
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||||
|
|
||||||
import { createSelector } from "reselect";
|
import { createSelector } from "devtools/client/shared/vendor/reselect";
|
||||||
|
|
||||||
const getExpressionsWrapper = state => state.expressions;
|
const getExpressionsWrapper = state => state.expressions;
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ import { getBlackBoxRanges } from "./source-blackbox";
|
||||||
// eslint-disable-next-line
|
// eslint-disable-next-line
|
||||||
import { getSelectedLocation as _getSelectedLocation } from "../utils/selected-location";
|
import { getSelectedLocation as _getSelectedLocation } from "../utils/selected-location";
|
||||||
import { isFrameBlackBoxed } from "../utils/source";
|
import { isFrameBlackBoxed } from "../utils/source";
|
||||||
import { createSelector } from "reselect";
|
import { createSelector } from "devtools/client/shared/vendor/reselect";
|
||||||
|
|
||||||
export const getSelectedFrame = createSelector(
|
export const getSelectedFrame = createSelector(
|
||||||
(state, thread) => state.pause.threads[thread],
|
(state, thread) => state.pause.threads[thread],
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* 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/>. */
|
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||||
|
|
||||||
import { createSelector } from "reselect";
|
import { createSelector } from "devtools/client/shared/vendor/reselect";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Main selector to build the SourceTree,
|
* Main selector to build the SourceTree,
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* 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/>. */
|
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||||
|
|
||||||
import { createSelector } from "reselect";
|
import { createSelector } from "devtools/client/shared/vendor/reselect";
|
||||||
|
|
||||||
import { getPrettySourceURL, isPretty, isJavaScript } from "../utils/source";
|
import { getPrettySourceURL, isPretty, isJavaScript } from "../utils/source";
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* 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/>. */
|
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||||
|
|
||||||
import { createSelector } from "reselect";
|
import { createSelector } from "devtools/client/shared/vendor/reselect";
|
||||||
import { getPrettySourceURL } from "../utils/source";
|
import { getPrettySourceURL } from "../utils/source";
|
||||||
|
|
||||||
import { getSpecificSourceByURL } from "./sources";
|
import { getSpecificSourceByURL } from "./sources";
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* 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/>. */
|
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||||
|
|
||||||
import { createSelector } from "reselect";
|
import { createSelector } from "devtools/client/shared/vendor/reselect";
|
||||||
import { parse } from "../utils/url";
|
import { parse } from "../utils/url";
|
||||||
|
|
||||||
export const getThreads = createSelector(
|
export const getThreads = createSelector(
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* 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/>. */
|
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||||
|
|
||||||
import { createSelector } from "reselect";
|
import { createSelector } from "devtools/client/shared/vendor/reselect";
|
||||||
|
|
||||||
import { getBreakpointsList } from "./breakpoints";
|
import { getBreakpointsList } from "./breakpoints";
|
||||||
import { getSelectedSource } from "./sources";
|
import { getSelectedSource } from "./sources";
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* 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/>. */
|
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||||
|
|
||||||
import { createSelector } from "reselect";
|
import { createSelector } from "devtools/client/shared/vendor/reselect";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
getViewport,
|
getViewport,
|
||||||
|
|
|
@ -14,7 +14,6 @@ const mappings = {
|
||||||
"react-dom-factories": "devtools/client/shared/vendor/react-dom-factories",
|
"react-dom-factories": "devtools/client/shared/vendor/react-dom-factories",
|
||||||
"react-redux": "devtools/client/shared/vendor/react-redux",
|
"react-redux": "devtools/client/shared/vendor/react-redux",
|
||||||
redux: "devtools/client/shared/vendor/redux",
|
redux: "devtools/client/shared/vendor/redux",
|
||||||
reselect: "devtools/client/shared/vendor/reselect",
|
|
||||||
"prop-types": "devtools/client/shared/vendor/react-prop-types",
|
"prop-types": "devtools/client/shared/vendor/react-prop-types",
|
||||||
"wasmparser/dist/cjs/WasmParser": "devtools/client/shared/vendor/WasmParser",
|
"wasmparser/dist/cjs/WasmParser": "devtools/client/shared/vendor/WasmParser",
|
||||||
"wasmparser/dist/cjs/WasmDis": "devtools/client/shared/vendor/WasmDis",
|
"wasmparser/dist/cjs/WasmDis": "devtools/client/shared/vendor/WasmDis",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче