1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-05 01:56:21 +00:00

Reorganize sources.

This commit is contained in:
devlinjd 2015-09-23 00:26:24 -04:00
parent 7363e48019
commit ccf6a1a1be
7 changed files with 17 additions and 3 deletions

View File

@ -4,7 +4,12 @@ Base resume generator for FluentCV.
*/
(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({
init: function( outputFormat ) {
this.format = outputFormat;

View File

@ -34,6 +34,11 @@ Template-based resume generator base for FluentCV.
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({
/** outputFormat: html, txt, pdf, doc

View File

@ -4,6 +4,10 @@ Plain text resume generator for FluentCV.
*/
var TemplateGenerator = require('./template-generator');
/**
The TextGenerator generates a plain-text resume via the TemplateGenerator.
*/
var TextGenerator = TemplateGenerator.extend({
init: function(){

View File

@ -11,7 +11,7 @@ module.exports = function () {
, FS = require( 'fs-extra' )
, XML = require( 'xml-escape' )
, path = require( 'path' )
, extend = require( './extend' )
, extend = require( './utils/extend' )
, _ = require('underscore')
, Sheet = require('./sheet')
, HtmlGenerator = require('./gen/html-generator')

View File

@ -6,7 +6,7 @@ Abstract character/resume sheet representation.
(function() {
var FS = require('fs')
, extend = require('./extend')
, extend = require('./utils/extend')
, validator = require('is-my-json-valid')
, _ = require('underscore')
, moment = require('moment');