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

Finish Commander.js integration.

This commit is contained in:
hacksalot
2016-01-03 03:18:56 -05:00
parent 655ecebaa5
commit 8d7cf32988
5 changed files with 56 additions and 49 deletions

View File

@ -136,6 +136,16 @@ Definition of the JRSResume class.
return flatSkills;
};
/**
Return internal metadata. Create if it doesn't exist.
JSON Resume v0.0.0 doesn't allow additional properties at the root level,
so tuck this into the .basic sub-object.
*/
JRSResume.prototype.imp = function() {
this.basics = this.basics || { imp: { } };
return this.basics;
};
/**
Reset the sheet to an empty state.
*/