Skip to content

render should only call next after the rendering engine is done#646

Open
jfremy wants to merge 1 commit into1602:masterfrom
jfremy:master
Open

render should only call next after the rendering engine is done#646
jfremy wants to merge 1 commit into1602:masterfrom
jfremy:master

Conversation

@jfremy
Copy link
Contributor

@jfremy jfremy commented Jan 11, 2015

With ejs 2.x, compound stops working.

The reason is that the current code assumes the render engine is synchronous and calls next after making its last render call. This is not a valid expectation (ejs does not follow this).

With this change, next is only called after the full rendering is done.

Fix compoundjs with ejs 2.x (1.x still works)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments