Bug 1288423 - Remove the old Actor/FrontClass constructors. r=fitzgen
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user