1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-22 00:10:15 +00:00

Rename src/eng --> src/renderers

A renderer is a thing that renders or "paints" an arbitrary format using
a templating engine like Handlebars or Underscore. A generator is a
thing responsible for generating a given output format like HTML or MS
Word.
This commit is contained in:
hacksalot 2016-01-08 09:59:47 -05:00
parent 8a1da777b0
commit 95df8e5af4
6 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ Definition of the TemplateGenerator class. TODO: Refactor
single: function( json, jst, format, cssInfo, opts, theme ) {
this.opts.freezeBreaks && ( jst = freeze(jst) );
var eng = require( '../eng/' + theme.engine + '-generator' );
var eng = require( '../renderers/' + theme.engine + '-generator' );
var result = eng.generate( json, jst, format, cssInfo, opts, theme );
this.opts.freezeBreaks && ( result = unfreeze(result) );