Permalink
Browse files

rm unused require from render

  • Loading branch information...
1 parent 36da588 commit 566181ef2684a3cf318a31f43f5217c4d4dfa0a2 @dodo committed May 17, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/render.coffee
View
@@ -1,5 +1,4 @@
BufferStream = require 'bufferstream'
-Stream = require 'stream'
streamify = require 'dt-stream'
@@ -8,7 +7,7 @@ streamify = require 'dt-stream'
# render(new Template(schema:'html5', body).pipe(res))
render = (template) ->
buffer = new BufferStream
- encoding:'utf-8'
+ encoding:'utf-8' # FIXME use template.options.encoding
size:'flexible'
disabled:yes
streamify(template).stream.pipe(buffer)

0 comments on commit 566181e

Please sign in to comment.