Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

Commit

Permalink
nodehiredis -> hiredis
Browse files Browse the repository at this point in the history
  • Loading branch information
pietern committed Mar 13, 2013
1 parent ba309f9 commit 3aa36f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion binding.gyp
@@ -1,7 +1,7 @@
{
'targets': [
{
'target_name': 'nodehiredis',
'target_name': 'hiredis',
'sources': [
'hiredis.cc'
, 'reader.cc'
Expand Down
2 changes: 1 addition & 1 deletion hiredis.cc
Expand Up @@ -9,5 +9,5 @@ extern "C" {
HandleScope scope;
hiredis::Reader::Initialize(target);
}
NODE_MODULE(nodehiredis, init);
NODE_MODULE(hiredis, init);
}
5 changes: 2 additions & 3 deletions hiredis.js
@@ -1,6 +1,5 @@
var hiredis, net = require("net");

hiredis = require('bindings')('nodehiredis.node');
var net = require("net"),
hiredis = require('bindings')('hiredis.node');

exports.Reader = hiredis.Reader;
exports.createConnection = function(port, host) {
Expand Down

0 comments on commit 3aa36f9

Please sign in to comment.