1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-05-15 10:07:07 +01:00

Introduce formal generators.

Introduce a shallow hierarchy of simple generator classes, collecting
common functionality and allowing for future snap-in generator
replacement. Use John Resig's "class"-based inheritance per
http://ejohn.org/blog/simple-javascript-inheritance/.
This commit is contained in:
devlinjd
2015-09-23 00:03:49 -04:00
parent 7bf25469de
commit 7363e48019
8 changed files with 329 additions and 2 deletions

15
src/gen/text-generator.js Normal file
View File

@ -0,0 +1,15 @@
/**
Plain text resume generator for FluentCV.
@license Copyright (c) 2015 by James M. Devlin. All rights reserved.
*/
var TemplateGenerator = require('./template-generator');
var TextGenerator = TemplateGenerator.extend({
init: function(){
this._super( 'txt' );
},
});
module.exports = TextGenerator;