Bug 1295171 - Reintroduce the old Actor/FrontClass constructors. r=jryans

Heintroduce the old Actor/FrontClass constructors.
This commit is contained in:
2016-08-22 16:25:57 +02:00
parent 0c6be0762e
commit fbdb0dae94
88 changed files with 209 additions and 179 deletions

View File

@@ -15,12 +15,12 @@ loader.lazyGetter(this, "appInfo", () => {
});
const protocol = require("devtools/shared/protocol");
const { ActorClass, Actor } = protocol;
const { ActorClassWithSpec, Actor } = protocol;
const { cssPropertiesSpec } = require("devtools/shared/specs/css-properties");
const { CSS_PROPERTIES, CSS_TYPES } = require("devtools/shared/css-properties-db");
const { cssColors } = require("devtools/shared/css-color-db");
exports.CssPropertiesActor = ActorClass(cssPropertiesSpec, {
exports.CssPropertiesActor = ActorClassWithSpec(cssPropertiesSpec, {
typeName: "cssProperties",
initialize(conn, parent) {