Added app.register() for template engine mapping. Closes #390
Before adoption: this commit came in with the history the project adopted, so no landing records it.
This is not exactly what you requested, but I think this is a better approach. With old Express I used to have "foo.ejs.html" "foo.haml.html" etc, but that is super verbose. This will allow for non-authors to support non-compliant engines without modifying the original module, as well as having things like .html render with jade
authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent da8c0cd · Browse files · 4 files+60 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
4 files+60 added−0 removed
- tests:+15 added−0 removed
- other:+45 added−0 removed