mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-05 09:56:22 +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:
parent
8a1da777b0
commit
95df8e5af4
@ -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) );
|
||||
|
Loading…
Reference in New Issue
Block a user