Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  grips.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/. */

/* globals DomProvider */
"use strict";

const constants = require("resource://devtools/client/dom/content/constants.js");

/**
 * Used to fetch grip prototype and properties from the backend.
 */

function requestProperties(grip) {
  return {
    grip,
    type: constants.FETCH_PROPERTIES,
    status: "start",
    error: false,
  };
}

/**
 * Executed when grip properties are received from the backend.
 */

function receiveProperties(grip, response, error) {
  return {
    grip,
    type: constants.FETCH_PROPERTIES,
    status: "done",
    response,
    error,
  };
}

/**
 * Used to get properties from the backend and fire an action
 * when they are received.
 */

function fetchProperties(grip) {
  return async ({ dispatch }) => {
    try {
      // Use 'DomProvider' object exposed from the chrome scope.
      const response = await DomProvider.getPrototypeAndProperties(grip);
      dispatch(receiveProperties(grip, response));
    } catch (e) {
      console.error("Error while fetching properties", e);
    }
    DomProvider.onPropertiesFetched();
  };
}

// Exports from this module
exports.requestProperties = requestProperties;
exports.receiveProperties = receiveProperties;
exports.fetchProperties = fetchProperties;

Messung V0.5 in Prozent
C=87 H=100 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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

letze Version des Elbe Quellennavigators


Jenseits des Üblichen ....

Besucher

Besucher

Statistik
#Sources=277311
#Domains=752002