mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2025-05-02 20:37:08 +01:00
Update JS.
Keep dist/ updated with src/ for the CLI and require() folks. (package.json goes off dist).
This commit is contained in:
5
dist/verbs/analyze.js
vendored
5
dist/verbs/analyze.js
vendored
@ -56,7 +56,10 @@ Implementation of the 'analyze' verb for HackMyResume.
|
||||
var r;
|
||||
r = ResumeFactory.loadOne(src, {
|
||||
format: 'FRESH',
|
||||
objectify: true
|
||||
objectify: true,
|
||||
inner: {
|
||||
"private": opts["private"] === true
|
||||
}
|
||||
}, this);
|
||||
if (opts.assert && this.hasError()) {
|
||||
return {};
|
||||
|
8
dist/verbs/build.js
vendored
8
dist/verbs/build.js
vendored
@ -109,7 +109,8 @@ Implementation of the 'build' verb for HackMyResume.
|
||||
objectify: false,
|
||||
quit: true,
|
||||
inner: {
|
||||
sort: _opts.sort
|
||||
sort: _opts.sort,
|
||||
"private": _opts["private"]
|
||||
}
|
||||
}, this);
|
||||
problemSheets = _.filter(sheetObjects, function(so) {
|
||||
@ -198,7 +199,9 @@ Implementation of the 'build' verb for HackMyResume.
|
||||
r: rez,
|
||||
theme: theme
|
||||
});
|
||||
_rezObj = new RTYPES[toFormat]().parseJSON(rez);
|
||||
_rezObj = new RTYPES[toFormat]().parseJSON(rez, {
|
||||
"private": _opts["private"]
|
||||
});
|
||||
targets = _expand(dst, theme);
|
||||
_.each(targets, function(t) {
|
||||
var ref;
|
||||
@ -233,6 +236,7 @@ Implementation of the 'build' verb for HackMyResume.
|
||||
var that;
|
||||
_opts.theme = (opts.theme && opts.theme.toLowerCase().trim()) || 'modern';
|
||||
_opts.prettify = opts.prettify === true;
|
||||
_opts["private"] = opts["private"] === true;
|
||||
_opts.css = opts.css;
|
||||
_opts.pdf = opts.pdf;
|
||||
_opts.wrap = opts.wrap || 60;
|
||||
|
Reference in New Issue
Block a user