basho / riak-nodejs-client

The Riak client for Node.js.
Apache License 2.0
72 stars 29 forks source link

Add String detection to setRegister() #41

Closed lukebakken closed 9 years ago

lukebakken commented 9 years ago

This makes it convenient to use strings when dealing with Register data types so you don't have to new Buffer() all the time.

Also, small improvement to detecting whether or not a value is a string.

christophermancini commented 9 years ago

Tests passed and the code looks good.

christophermancini commented 9 years ago

:+1: 3923c50