Class-ify Underscore/Handlebars engine.

This commit is contained in:
hacksalot committed 2015-12-18 13:17:07 -05:00
1 parent b0bc71cd66
commit 1441fe3ae5
3 files changed
+60 -42

No files matched your search

+1 -1
View File
@@ -143,7 +143,7 @@ Definition of the TemplateGenerator class.
single: function( json, jst, format, cssInfo, opts, theme ) {
this.opts.freezeBreaks && ( jst = freeze(jst) );
var eng = require( '../eng/' + theme.engine + '-generator' );
var result = eng( json, jst, format, cssInfo, opts, theme );
var result = eng.generate( json, jst, format, cssInfo, opts, theme );
this.opts.freezeBreaks && ( result = unfreeze(result) );
return result;
}