Refactor error handling (interim).

This commit is contained in:
hacksalot committed 2016-01-14 11:47:05 -05:00
1 parent 7765e85336
commit a9c685c6a4
5 files changed
+27 -18

No files matched your search

-10
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 );