Bug 1288423 - Remove the old Actor/FrontClass constructors. r=fitzgen

This commit is contained in:
2016-08-10 17:35:50 +02:00
parent c36403bbe5
commit 7da99e3425
2 changed files with 1 additions and 26 deletions

View File

@@ -1090,17 +1090,6 @@ var generateRequestHandlers = function (actorSpec, actorProto) {
return actorProto;
};
/**
* Create an actor class for the given actor prototype.
*
* @param object actorProto
* The actor prototype. Must have a 'typeName' property,
* should have method definitions, can have event definitions.
*/
exports.ActorClass = function (actorProto) {
return ActorClassWithSpec(generateActorSpec(actorProto), actorProto);
};
/**
* Create an actor class for the given actor specification and prototype.
*
@@ -1422,19 +1411,6 @@ var generateRequestMethods = function (actorSpec, frontProto) {
return frontProto;
};
/**
* Create a front class for the given actor class and front prototype.
*
* @param ActorClass actorType
* The actor class you're creating a front for.
* @param object frontProto
* The front prototype. Must have a 'typeName' property,
* should have method definitions, can have event definitions.
*/
exports.FrontClass = function (actorType, frontProto) {
return FrontClassWithSpec(prototypeOf(actorType)._actorSpec, frontProto);
};
/**
* Create a front class for the given actor specification and front prototype.
*