Skip to content

Conversation

@jails
Copy link

@jails jails commented Apr 4, 2015

This PR is related to fb55/domhandler#19. Since the ontext event generally require some additionnal processing "downstream" to be able to gather together the full text sequence, this PR introduce a new event (I named it oncontent, but whatever is fine for me) which is only triggered once the full text sequence has been collected. So by using oncontent the collected text will behave the same way whether the writing is done in a stream way or not.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.43%) to 96.08% when pulling 29dc9c2 on jails:oncontent-event into 9e770fc on fb55:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.43%) to 96.08% when pulling 80e5663 on jails:oncontent-event into 9e770fc on fb55:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.43%) to 96.08% when pulling 80e5663 on jails:oncontent-event into 9e770fc on fb55:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.43%) to 96.08% when pulling 1b66a76 on jails:oncontent-event into 9e770fc on fb55:master.

@jails
Copy link
Author

jails commented Apr 5, 2015

I'm closing this one, after thinking about it, two events which do the same job is quite disturbing.

@jails jails closed this Apr 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants