Skip to content

Commit

Permalink
stream templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Machi committed Sep 29, 2010
1 parent aa01b2a commit 6deea47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/media/html.js
Expand Up @@ -54,15 +54,15 @@ Media({
template = templateEngine.compile(templateId, (mediaParams && mediaParams.template));
}


return {
forEach: function(write){
return when(template, function(template){
write(template(object));
template(object).forEach(write);
})
}
}
},

deserialize: function(inputStream, request){
throw new Error("not implemented");
}
Expand Down

0 comments on commit 6deea47

Please sign in to comment.