mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2025-09-10 16:31:58 +01:00
feat: include private fields during convert
This commit is contained in:
@@ -48,12 +48,12 @@ class JRSResume extends AbstractResume
|
||||
###
|
||||
parseJSON: ( rep, opts ) ->
|
||||
opts = opts || { };
|
||||
# Ignore any element with the 'ignore: true' or 'private: true' designator.
|
||||
that = this
|
||||
{ scrubbed, ignoreList, privateList } = @scrubResume rep, opts
|
||||
if opts.privatize
|
||||
# Ignore any element with the 'ignore: true' or 'private: true' designator.
|
||||
{ scrubbed, ignoreList, privateList } = @scrubResume rep, opts
|
||||
|
||||
# Extend resume properties onto ourself.
|
||||
extend true, this, scrubbed
|
||||
extend true, this, if opts.privatize then scrubbed else rep
|
||||
|
||||
# Set up metadata
|
||||
if !@imp?.processed
|
||||
|
Reference in New Issue
Block a user