Permalink
Browse files

nodehiredis -> hiredis

  • Loading branch information...
1 parent ba309f9 commit 3aa36f988b83e2e4f646939bb485e0fe2cfe83f4 @pietern pietern committed Mar 13, 2013
Showing with 4 additions and 5 deletions.
  1. +1 −1 binding.gyp
  2. +1 −1 hiredis.cc
  3. +2 −3 hiredis.js
View
2 binding.gyp
@@ -1,7 +1,7 @@
{
'targets': [
{
- 'target_name': 'nodehiredis',
+ 'target_name': 'hiredis',
'sources': [
'hiredis.cc'
, 'reader.cc'
View
2 hiredis.cc
@@ -9,5 +9,5 @@ extern "C" {
HandleScope scope;
hiredis::Reader::Initialize(target);
}
- NODE_MODULE(nodehiredis, init);
+ NODE_MODULE(hiredis, init);
}
View
5 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) {

0 comments on commit 3aa36f9

Please sign in to comment.