1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-07-01 08:01:03 +01:00

Refactor error handling (interim).

This commit is contained in:
hacksalot
2016-01-14 11:47:05 -05:00
parent 7765e85336
commit a9c685c6a4
5 changed files with 27 additions and 18 deletions

View File

@ -71,16 +71,6 @@ Definition of the FRESHResume class.
*/
FreshResume.prototype.parseJSON = function( rep, opts ) {
// // Convert JSON Resume to FRESH if necessary
// // TODO: Not sure if this code path is still executed. JRS resumes should
// // be loaded via JRSResume, not here.
// if( rep.basics ) {
// throw "Invalid resume conversion path";
// rep = CONVERTER.toFRESH( rep );
// rep.imp = rep.imp || { };
// rep.imp.orgFormat = 'JRS';
// }
// Now apply the resume representation onto this object
extend( true, this, rep );