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

Asynchrony.

This commit is contained in:
hacksalot
2016-02-01 21:14:36 -05:00
parent 212b01092c
commit 70f45d468d
77 changed files with 1162 additions and 519 deletions

View File

@ -31,3 +31,5 @@ Definition of the BaseGenerator class.
});
}).call(this);
//# sourceMappingURL=base-generator.js.map

View File

@ -40,3 +40,5 @@ Definition of the HTMLGenerator class.
});
}).call(this);
//# sourceMappingURL=html-generator.js.map

View File

@ -46,8 +46,19 @@ Definition of the HtmlPdfCLIGenerator class.
return null;
}
},
/* Low-level error callback for spawn(). May be called after HMR process
termination, so object references may not be valid here. That's okay; if
the references are invalid, the error was already logged. We could use
spawn-watch here but that causes issues on legacy Node.js.
*/
onError: function(ex, param) {
param.errHandler.err(HMSTATUS.pdfGeneration, ex);
var ref;
if ((ref = param.errHandler) != null) {
if (typeof ref.err === "function") {
ref.err(HMSTATUS.pdfGeneration, ex);
}
}
}
});
@ -86,3 +97,5 @@ Definition of the HtmlPdfCLIGenerator class.
};
}).call(this);
//# sourceMappingURL=html-pdf-cli-generator.js.map

View File

@ -62,3 +62,5 @@ Definition of the HtmlPngGenerator class.
};
}).call(this);
//# sourceMappingURL=html-png-generator.js.map

View File

@ -43,3 +43,5 @@ Definition of the JsonGenerator class.
});
}).call(this);
//# sourceMappingURL=json-generator.js.map

View File

@ -31,8 +31,11 @@ Definition of the JsonYamlGenerator class.
generate: function(rez, f, opts) {
var data;
data = YAML.stringify(JSON.parse(rez.stringify()), Infinity, 2);
return FS.writeFileSync(f, data, 'utf8');
FS.writeFileSync(f, data, 'utf8');
return data;
}
});
}).call(this);
//# sourceMappingURL=json-yaml-generator.js.map

View File

@ -22,3 +22,5 @@ Definition of the LaTeXGenerator class.
});
}).call(this);
//# sourceMappingURL=latex-generator.js.map

View File

@ -22,3 +22,5 @@ Definition of the MarkdownGenerator class.
});
}).call(this);
//# sourceMappingURL=markdown-generator.js.map

View File

@ -241,3 +241,5 @@ Definition of the TemplateGenerator class. TODO: Refactor
};
}).call(this);
//# sourceMappingURL=template-generator.js.map

View File

@ -22,3 +22,5 @@ Definition of the TextGenerator class.
});
}).call(this);
//# sourceMappingURL=text-generator.js.map

View File

@ -17,3 +17,5 @@ Definition of the WordGenerator class.
});
}).call(this);
//# sourceMappingURL=word-generator.js.map

View File

@ -22,3 +22,5 @@ Definition of the XMLGenerator class.
});
}).call(this);
//# sourceMappingURL=xml-generator.js.map

View File

@ -22,3 +22,5 @@ Definition of the YAMLGenerator class.
});
}).call(this);
//# sourceMappingURL=yaml-generator.js.map