Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

this seems to cause a bug in dt-stream

  • Loading branch information...
commit d3b972ca2f57db12123a137e61c7fba909254c75 1 parent f7057ac
@dodo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/xml.coffee
View
2  src/xml.coffee
@@ -210,7 +210,6 @@ class Tag extends EventEmitter
else
@closed = yes
@emit 'close', this
- @emit 'end'
@writable = false
set_ready = =>
@isready = yes
@@ -219,6 +218,7 @@ class Tag extends EventEmitter
@builder.approve('ready', this, set_ready)
else
set_ready()
+ @emit 'end'
if @builder?
@builder.approve('end', this, close_tag)
else
Please sign in to comment.
Something went wrong with that request. Please try again.