mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-25 09:50:11 +00:00
Reorganize sources.
This commit is contained in:
parent
7363e48019
commit
ccf6a1a1be
@ -4,7 +4,12 @@ Base resume generator for FluentCV.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
var Class = require( './class' );
|
var Class = require( '../utils/class' );
|
||||||
|
|
||||||
|
/**
|
||||||
|
The BaseGenerator class is the root of the generator hierarchy. Functionality
|
||||||
|
common to ALL generators lives here.
|
||||||
|
*/
|
||||||
var BaseGenerator = module.exports = Class.extend({
|
var BaseGenerator = module.exports = Class.extend({
|
||||||
init: function( outputFormat ) {
|
init: function( outputFormat ) {
|
||||||
this.format = outputFormat;
|
this.format = outputFormat;
|
||||||
|
@ -34,6 +34,11 @@ Template-based resume generator base for FluentCV.
|
|||||||
prettyIndent: 2
|
prettyIndent: 2
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
TemplateGenerator performs resume generation via Underscore-style template
|
||||||
|
expansion and is appropriate for text-based formats like HTML, plain text,
|
||||||
|
and XML versions of Microsoft Word, Excel, and OpenOffice.
|
||||||
|
*/
|
||||||
var TemplateGenerator = BaseGenerator.extend({
|
var TemplateGenerator = BaseGenerator.extend({
|
||||||
|
|
||||||
/** outputFormat: html, txt, pdf, doc
|
/** outputFormat: html, txt, pdf, doc
|
||||||
|
@ -4,6 +4,10 @@ Plain text resume generator for FluentCV.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
var TemplateGenerator = require('./template-generator');
|
var TemplateGenerator = require('./template-generator');
|
||||||
|
|
||||||
|
/**
|
||||||
|
The TextGenerator generates a plain-text resume via the TemplateGenerator.
|
||||||
|
*/
|
||||||
var TextGenerator = TemplateGenerator.extend({
|
var TextGenerator = TemplateGenerator.extend({
|
||||||
|
|
||||||
init: function(){
|
init: function(){
|
||||||
|
@ -11,7 +11,7 @@ module.exports = function () {
|
|||||||
, FS = require( 'fs-extra' )
|
, FS = require( 'fs-extra' )
|
||||||
, XML = require( 'xml-escape' )
|
, XML = require( 'xml-escape' )
|
||||||
, path = require( 'path' )
|
, path = require( 'path' )
|
||||||
, extend = require( './extend' )
|
, extend = require( './utils/extend' )
|
||||||
, _ = require('underscore')
|
, _ = require('underscore')
|
||||||
, Sheet = require('./sheet')
|
, Sheet = require('./sheet')
|
||||||
, HtmlGenerator = require('./gen/html-generator')
|
, HtmlGenerator = require('./gen/html-generator')
|
||||||
|
@ -6,7 +6,7 @@ Abstract character/resume sheet representation.
|
|||||||
(function() {
|
(function() {
|
||||||
|
|
||||||
var FS = require('fs')
|
var FS = require('fs')
|
||||||
, extend = require('./extend')
|
, extend = require('./utils/extend')
|
||||||
, validator = require('is-my-json-valid')
|
, validator = require('is-my-json-valid')
|
||||||
, _ = require('underscore')
|
, _ = require('underscore')
|
||||||
, moment = require('moment');
|
, moment = require('moment');
|
||||||
|
Loading…
Reference in New Issue
Block a user