Skip to content
Myr

Use ejs instead of jade within engine jsdoc

Before adoption: this commit came in with the history the project adopted, so no landing records it.

closes #3222

authored by Jamie Barton · committed by Douglas Christopher Wilson · parent 4012846 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:lib/application.js+2 added-2 removed
260 unmodified lines
261 * as `ext`.262 *263 * By default will `require()` the engine based on the264 * file extension. For example if you try to render265 * a "foo.jade" file Express will invoke the following internally:265 * a "foo.ejs" file Express will invoke the following internally:266 *267 * app.engine('jade', require('jade').__express);267 * app.engine('ejs', require('ejs').__express);268 *269 * For engines that do not provide `.__express` out of the box,270 * or if you wish to "map" a different extension to the template engine271 * you may use this method. For example mapping the EJS template engine to
373 unmodified lines