frank06/riak-js — pull request #118 by brainafk (2012-03-13 17:05:46+00:00)
Title: Workaround for #97 + coffe transformation related bugfix

This is a workaround for #97. So if `data` is empty it does not try to parse an empty string as JSON.

@Line 318:
coffee transforms `buffer == ""` into `buffer === ""` what cannot be true so I changed it to `buffer.length == 0`