mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-05 01:56:21 +00:00
Reorganize sources.
This commit is contained in:
parent
7363e48019
commit
ccf6a1a1be
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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(){
|
||||
|
@ -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')
|
||||
|
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user