/* 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";
// DOM Panel const MainFrame = React.createFactory(
require("resource://devtools/client/dom/content/components/MainFrame.js")
);
// Store const createStore = require("resource://devtools/client/shared/redux/create-store.js");
const {
reducers,
} = require("resource://devtools/client/dom/content/reducers/index.js"); const store = createStore(reducers);
/** * This object represents view of the DOM panel and is responsible * for rendering the content. It renders the top level ReactJS * component: the MainFrame.
*/ function DomView(localStore) {
addEventListener("devtools/chrome/message", this.onMessage.bind(this), true);
// Make it local so, tests can access it. this.store = localStore;
}
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.