Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/devtools/client/shared/components/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 1 kB image not shown  

Quelle  DebuggerImage.js

  Sprache: JAVA
 

/* 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 <http://mozilla.org/MPL/2.0/>. */


"use strict";

const React = require("devtools/client/shared/vendor/react");
const PropTypes = require("devtools/client/shared/vendor/react-prop-types");

const classnames = require("resource://devtools/client/shared/classnames.js");

const DebuggerImage = props => {
  const { name, className, ...attributes } = props;

  // The DebuggerImage name is prefixed with "dbg-img-", and therefore it should
  // not contain any space, otherwise the second word would unexpectedly not be
  // prefixed.
  if (/\s/.test(name)) {
    throw new Error(
      `DebuggerImage name should not contain any space character ("${name}").` +
        ` Use the className property for optional classes.`
    );
  }

  return React.createElement("span", {
    ...attributes,
    className: classnames("dbg-img", `dbg-img-${name}`, className),
  });
};

DebuggerImage.propTypes = {
  name: PropTypes.string.isRequired,
  className: PropTypes.string,
};

module.exports = DebuggerImage;

Messung V0.5 in Prozent
C=90 H=97 G=93

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.