bcelenza/node-qr — pull request #3 by bkw (2012-07-04 13:56:06+00:00)
Title: Fix for empty codes on newer nodejs versions

Hi,

I noticed the encoder would sometimes emit exit before the data was read from stdin or stderr. This happens a lot on node 0.8.1. This also makes some tests fail.

This pr waits for all filehandles to close, which is TheRightThing[tm] and fixes the issue for me.

I also took the liberty to fix package.json and gitignore files.

cheers,
bkw