mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Changed Context.prototype.write() to call toString() instead
This commit is contained in:
parent
5010564b71
commit
3268f144a9
@ -115,7 +115,7 @@ if (stream) {
|
|||||||
Readable.prototype = {
|
Readable.prototype = {
|
||||||
write: function(data) {
|
write: function(data) {
|
||||||
if (data != null) {
|
if (data != null) {
|
||||||
this.push(data.toString());
|
this.push(data);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
end: function() {
|
end: function() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user