We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The render() and renderView() methods should not simply pass the options they receive from the caller along to the helper methods they call.
render()
renderView()
options
The following doesn't make sense and will break:
app.get('/', function (req, res, next) { res.render('home', { precompiled: true }); });
This will end up calling getPartials() and getTemplate() with options.precompiled = true, and throw an error.
getPartials()
getTemplate()
options.precompiled = true
The text was updated successfully, but these errors were encountered:
9c1942a
No branches or pull requests
The
render()
andrenderView()
methods should not simply pass theoptions
they receive from the caller along to the helper methods they call.The following doesn't make sense and will break:
This will end up calling
getPartials()
andgetTemplate()
withoptions.precompiled = true
, and throw an error.The text was updated successfully, but these errors were encountered: