isRenderContext --> isAsyncWriter

This commit is contained in:
Patrick Steele-Idem 2014-09-22 13:48:02 -06:00
parent 8725928709
commit 7e2925fb00

View File

@ -81,7 +81,7 @@ Template.prototype = {
}
renderWithCallback(this, data, out, callback);
} else {
if (out.isRenderContext) {
if (out.isAsyncWriter) {
this._(data, out);
} else {
// Assume the "out" is really a stream