Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

rm unused require from render

  • Loading branch information...
commit 566181ef2684a3cf318a31f43f5217c4d4dfa0a2 1 parent 36da588
@dodo authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  src/render.coffee
View
3  src/render.coffee
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.