UNPKG

compound-ex4

Version:

Compound-ex4 - MVC framework for NodeJS (ExpressJs 4 version), fork compoundjs(https://github.com/1602/compound)

16 lines (12 loc) 245 B
module.exports = Rendering; function Rendering() { } /** * Render html template */ Rendering.prototype.render = function render(view) { this.res.render(view, this.context); if (this.context.inAction) { this.next(); } };