More work on CompanyJobApplication.js, unfinished and untested. need to add popups saying if u got the job or not

This commit is contained in:
Daniel Xie
2017-02-02 22:02:27 -06:00
parent 7382454e83
commit afda3338bd
3 changed files with 93 additions and 27 deletions
+10
View File
@@ -189,6 +189,16 @@ CompanyPosition.prototype.isAgentJob = function() {
return false;
}
CompanyPosition.prototype.toJSON = function() {
return Generic_toJSON("CompanyPosition", this);
}
CompanyPosition.fromJSON = function(value) {
return Generic_fromJSON(CompanyPosition, value.data);
}
Reviver.constructors.CompanyPosition = CompanyPosition;
CompanyPositions = {
//Constructor: CompanyPosition(name, reqHack, reqStr, reqDef, reqDex, reqAgi, reqCha, reqRep, salary)