Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for require("riak-js")() to initialize a client #203

Merged
merged 1 commit into from Dec 25, 2013

Conversation

tj
Copy link
Contributor

@tj tj commented Dec 22, 2013

pretty common pattern these days:

var riak = require('riakj-js');
var db = riak({ host: 'n.n.n.n' });

leaves .getClient() and the others as-is

@sideshowcoder
Copy link
Contributor

I really like this, thanks 👍

roidrage added a commit that referenced this pull request Dec 25, 2013
add support for `require("riak-js")()` to initialize a client
@roidrage roidrage merged commit 01ce6e6 into mostlyserious:master Dec 25, 2013
@tj tj deleted the refactor-getClient branch December 25, 2013 19:48
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.

None yet

3 participants