mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
isRenderContext --> isAsyncWriter
This commit is contained in:
parent
8725928709
commit
7e2925fb00
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user