Closed ingiulio closed 9 years ago
@rendrjs/maintainers Would like to have your input on both PRs (satellite PR – https://github.com/rendrjs/rendr-handlebars/issues/52) Thank you.
:+1:
@ingiulio another idea is to pass templateEngine
as second argument, to make it backwards compatible solution and allow template adapter to decide on accepting external template engine or using bundled solution.
Example:
this.templateAdapter = require(templateAdapterModule)(templateAdapterOptions, templateEngine);
@alexindigo I like that idea a lot. I'll change this as you suggested.
:+1:
LGTM. There's a merge conflict now -- care to rebase?
@spikebrehm you're alive?! haha. :)
I agree about the rebase - once we get this PR in I'll do a final test run through and then release 1.0.4 today :dancers:
@spikebrehm @saponifi3d PR updated. Thank you.
@saponifi3d just a reminder: this one will need https://github.com/rendrjs/rendr-handlebars/pull/52 merged too
Add a template system to the defaults, with default value
handlebars
to go along with the defaulttemplateAdapter: 'rendr-handlebars'
. This would allow us to directly control the version of Handlebars or of the template system that we are using from the Rendr app, instead of being coupled to what's inside the template adapter module.This needs another PR in
rendr-handlebars
to be merged: https://github.com/rendrjs/rendr-handlebars/pull/52Thoughts?