How to use the devtools/client/debugger/dist/vendors.vendored function in devtools

To help you get started, we’ve selected a few devtools examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github oracle / solaris-userland / components / desktop / firefox / wrapper-node / node-js-cache / bb294fe0cd96f0ce9bcb0cdeeaed3cc158b6c301 / assert.js View on Github external
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = assert;

var _devtoolsEnvironment = require("devtools/client/debugger/dist/vendors").vendored["devtools-environment"];

function assert(condition, message) {
  if ((0, _devtoolsEnvironment.isDevelopment)() && !condition) {
    throw new Error(`Assertion failure: ${message}`);
  }
} /* This Source Code Form is subject to the terms of the Mozilla Public
   * License, v. 2.0. If a copy of the MPL was not distributed with this
   * file, You can obtain one at . */
github oracle / solaris-userland / components / desktop / firefox / wrapper-node / node-js-cache / a9c2c266dbe3f237acb1c716fbd3b209f56bc860 / OutlineFilter.js View on Github external
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _react = require("devtools/client/shared/vendor/react");

var _react2 = _interopRequireDefault(_react);

var _classnames = require("devtools/client/debugger/dist/vendors").vendored["classnames"];

var _classnames2 = _interopRequireDefault(_classnames);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at . */

class OutlineFilter extends _react.Component {
  constructor(...args) {
    var _temp;

    return _temp = super(...args), this.state = { focused: false }, this.setFocus = shouldFocus => {
      this.setState({ focused: shouldFocus });
    }, this.onChange = e => {
github oracle / solaris-userland / components / desktop / thunderbird / wrapper-node / node-js-cache / 11985459b57bfa7f1db5db627420d578080dc0f7 / quick-open.js View on Github external
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.MODIFIERS = undefined;
exports.parseQuickOpenQuery = parseQuickOpenQuery;
exports.parseLineColumn = parseLineColumn;
exports.formatSourcesForList = formatSourcesForList;
exports.formatSymbol = formatSymbol;
exports.formatSymbols = formatSymbols;
exports.formatShortcutResults = formatShortcutResults;
exports.formatSources = formatSources;

var _classnames = require("devtools/client/debugger/dist/vendors").vendored["classnames"];

var _classnames2 = _interopRequireDefault(_classnames);

var _utils = require("./utils");

var _source = require("./source");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

const MODIFIERS = exports.MODIFIERS = {
  "@": "functions",
  "#": "variables",
  ":": "goto",
  "?": "shortcuts"
}; /* This Source Code Form is subject to the terms of the Mozilla Public
    * License, v. 2.0. If a copy of the MPL was not distributed with this
github oracle / solaris-userland / components / desktop / firefox / wrapper-node / node-js-cache / 15139cd3b5087e786c0e78971c01a7f6b536011c / Expressions.js View on Github external
});

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; /* This Source Code Form is subject to the terms of the Mozilla Public
                                                                                                                                                                                                                                                                   * License, v. 2.0. If a copy of the MPL was not distributed with this
                                                                                                                                                                                                                                                                   * file, You can obtain one at . */

// eslint-disable-next-line import/named


var _react = require("devtools/client/shared/vendor/react");

var _react2 = _interopRequireDefault(_react);

var _connect = require("../../utils/connect");

var _classnames = require("devtools/client/debugger/dist/vendors").vendored["classnames"];

var _classnames2 = _interopRequireDefault(_classnames);

var _prefs = require("../../utils/prefs");

var _devtoolsReps = require("devtools/client/shared/components/reps/reps.js");

var _actions = require("../../actions/index");

var _actions2 = _interopRequireDefault(_actions);

var _selectors = require("../../selectors/index");

var _expressions = require("../../utils/expressions");

var _firefox = require("../../client/firefox");
github oracle / solaris-userland / components / desktop / thunderbird / wrapper-node / node-js-cache / 7cd85611a33728bd9819a589908cb7479627a0f8 / ColumnBreakpoint.js View on Github external
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _react = require("devtools/client/shared/vendor/react");

var _classnames = require("devtools/client/debugger/dist/vendors").vendored["classnames"];

var _classnames2 = _interopRequireDefault(_classnames);

var _devtoolsContextmenu = require("devtools/client/debugger/dist/vendors").vendored["devtools-contextmenu"];

var _editor = require("../../utils/editor/index");

var _breakpoints = require("./menus/breakpoints");

var _selectedLocation = require("../../utils/selected-location");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

// eslint-disable-next-line max-len
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at . */

const breakpointButton = document.createElement("button");
breakpointButton.innerHTML = '<svg height="13" width="11" viewBox="0 0 11 13" xmlns="http://www.w3.org/2000/svg"><path d="M5.07.5H1.5c-.54 0-1 .46-1 1v10c0 .54.46 1 1 1h3.57c.58 0 1.15-.26 1.53-.7l3.7-5.3-3.7-5.3C6.22.76 5.65.5 5.07.5z"></path></svg>';
github oracle / solaris-userland / components / desktop / firefox / wrapper-node / node-js-cache / 0477e33ffb91d1558b86b77b6cd675682afff53b / Modal.js View on Github external
exports.Modal = exports.transitionTimeout = undefined;
exports.default = Slide;

var _propTypes = require("devtools/client/shared/vendor/react-prop-types");

var _propTypes2 = _interopRequireDefault(_propTypes);

var _react = require("devtools/client/shared/vendor/react");

var _react2 = _interopRequireDefault(_react);

var _classnames = require("devtools/client/debugger/dist/vendors").vendored["classnames"];

var _classnames2 = _interopRequireDefault(_classnames);

var _Transition = require("devtools/client/debugger/dist/vendors").vendored["react-transition-group/Transition"];

var _Transition2 = _interopRequireDefault(_Transition);

function _interopRequireDefault(obj) { return obj &amp;&amp; obj.__esModule ? obj : { default: obj }; }

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at . */

const transitionTimeout = exports.transitionTimeout = 175;

class Modal extends _react2.default.Component {
  constructor(...args) {
    var _temp;

    return _temp = super(...args), this.onClick = e =&gt; {
github oracle / solaris-userland / components / desktop / thunderbird / wrapper-node / node-js-cache / 457c35bc77bc6877bf2fd6c8e142d97a2e138014 / FrameMenu.js View on Github external
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = FrameMenu;

var _devtoolsContextmenu = require("devtools/client/debugger/dist/vendors").vendored["devtools-contextmenu"];

var _clipboard = require("../../../utils/clipboard");

var _lodash = require("devtools/client/shared/vendor/lodash");

const blackboxString = "sourceFooter.blackbox"; /* This Source Code Form is subject to the terms of the Mozilla Public
                                                 * License, v. 2.0. If a copy of the MPL was not distributed with this
                                                 * file, You can obtain one at . */

const unblackboxString = "sourceFooter.unblackbox";

function formatMenuElement(labelString, click, disabled = false) {
  const label = L10N.getStr(labelString);
  const accesskey = L10N.getStr(`${labelString}.accesskey`);
  const id = `node-menu-${(0, _lodash.kebabCase)(label)}`;
  return {
github oracle / solaris-userland / components / desktop / thunderbird / wrapper-node / node-js-cache / 7cd85611a33728bd9819a589908cb7479627a0f8 / Breakpoint.js View on Github external
value: true
});

var _react = require("devtools/client/shared/vendor/react");

var _classnames = require("devtools/client/debugger/dist/vendors").vendored["classnames"];

var _classnames2 = _interopRequireDefault(_classnames);

var _editor = require("../../utils/editor/index");

var _selectedLocation = require("../../utils/selected-location");

var _prefs = require("../../utils/prefs");

var _devtoolsContextmenu = require("devtools/client/debugger/dist/vendors").vendored["devtools-contextmenu"];

var _breakpoints = require("./menus/breakpoints");

function _interopRequireDefault(obj) { return obj &amp;&amp; obj.__esModule ? obj : { default: obj }; }

const breakpointSvg = document.createElement("div"); /* This Source Code Form is subject to the terms of the Mozilla Public
                                                      * License, v. 2.0. If a copy of the MPL was not distributed with this
                                                      * file, You can obtain one at . */

breakpointSvg.innerHTML = '<svg height="15" width="60" viewBox="0 0 60 15" xmlns="http://www.w3.org/2000/svg"><path d="M53.07.5H1.5c-.54 0-1 .46-1 1v12c0 .54.46 1 1 1h51.57c.58 0 1.15-.26 1.53-.7l4.7-6.3-4.7-6.3c-.38-.44-.95-.7-1.53-.7z"></path></svg>';

class Breakpoint extends _react.PureComponent {
  constructor(...args) {
    var _temp;

    return _temp = super(...args), this.onClick = event =&gt; {
github oracle / solaris-userland / components / desktop / thunderbird / wrapper-node / node-js-cache / 21800276d3979497eae7371460d325ac8081c76c / App.js View on Github external
var _A11yIntention = require("./A11yIntention");

var _A11yIntention2 = _interopRequireDefault(_A11yIntention);

var _ShortcutsModal = require("./ShortcutsModal");

var _selectors = require("../selectors/index");

var _devtoolsModules = require("devtools/client/debugger/dist/vendors").vendored["devtools-modules"];

var _devtoolsServices = require("Services");

var _devtoolsServices2 = _interopRequireDefault(_devtoolsServices);

var _devtoolsSplitter = require("devtools/client/debugger/dist/vendors").vendored["devtools-splitter"];

var _devtoolsSplitter2 = _interopRequireDefault(_devtoolsSplitter);

var _ProjectSearch = require("./ProjectSearch");

var _ProjectSearch2 = _interopRequireDefault(_ProjectSearch);

var _PrimaryPanes = require("./PrimaryPanes/index");

var _PrimaryPanes2 = _interopRequireDefault(_PrimaryPanes);

var _Editor = require("./Editor/index");

var _Editor2 = _interopRequireDefault(_Editor);

var _SecondaryPanes = require("./SecondaryPanes/index");
github oracle / solaris-userland / components / desktop / firefox / wrapper-node / node-js-cache / 9b1d466f9743dc4228eba7c01e42e6a9ff1a1c84 / Breakpoint.js View on Github external
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _react = require("devtools/client/shared/vendor/react");

var _react2 = _interopRequireDefault(_react);

var _connect = require("../../../utils/connect");

var _reselect = require("devtools/client/debugger/dist/vendors").vendored["reselect"];

var _classnames = require("devtools/client/debugger/dist/vendors").vendored["classnames"];

var _classnames2 = _interopRequireDefault(_classnames);

var _actions = require("../../../actions/index");

var _actions2 = _interopRequireDefault(_actions);

var _lodash = require("devtools/client/shared/vendor/lodash");

var _BreakpointsContextMenu = require("./BreakpointsContextMenu");

var _BreakpointsContextMenu2 = _interopRequireDefault(_BreakpointsContextMenu);

var _Button = require("../../shared/Button/index");

var _breakpoint = require("../../../utils/breakpoint/index");