raycmorgan / Mu

A Node.js Mustache template engine (and compiler)
MIT License
747 stars 84 forks source link

data -> body, eof -> complete? #1

Closed aheckmann closed 14 years ago

aheckmann commented 14 years ago

My first impression is that this looks pretty cool. I'm wondering if you think it would be good to make the event types emitted more in line with what Node emits:

The data event would become a body event The eof event would become a complete event

raycmorgan commented 14 years ago

Node is in the future going to be moving to this API.

http://groups.google.com/group/nodejs/browse_thread/thread/6449788350212fe6/d76d5e697c2dd2cc?lnk=gst&q=Stream#d76d5e697c2dd2cc

aheckmann commented 14 years ago

Ahh, thanks.