摘自: https://github.com/janl/mustache.js
Streaming
To stream template results out of mustache.js, you can pass an optional send() callback to the to_html() call:
Mustache.to_html(template, view, partials, function(line) {
print(line);
});
Streaming
To stream template results out of mustache.js, you can pass an optional send() callback to the to_html() call:
Mustache.to_html(template, view, partials, function(line) {
print(line);
});