Permalink
Browse files

Local updates for 0.11.9

  • Loading branch information...
1 parent ce13f93 commit cbb3c8c28f8f9042102312f927eb42476434469c @kkoopa kkoopa committed Nov 25, 2013
Showing with 4 additions and 4 deletions.
  1. +2 −2 binding.cc
  2. +1 −1 binding.gyp
  3. +1 −1 package.json
View
@@ -520,7 +520,7 @@ namespace zmq {
if (state->error) {
argv[0] = Exception::Error(String::New(zmq_strerror(state->error)));
} else {
- argv[0] = Local<Value>::New(Undefined());
+ argv[0] = NanNewLocal<Value>(Undefined());
}
Local<Function> cb = NanPersistentToLocal(state->cb);
@@ -598,7 +598,7 @@ namespace zmq {
if (state->error) {
argv[0] = Exception::Error(String::New(zmq_strerror(state->error)));
} else {
- argv[0] = Local<Value>::New(Undefined());
+ argv[0] = NanNewLocal<Value>(Undefined());
}
Local<Function> cb = NanPersistentToLocal(state->cb);
View
@@ -4,7 +4,7 @@
'target_name': 'zmq',
'sources': [ 'binding.cc' ],
'include_dirs' : [
- "<!(node -p -e \"require('path').relative('.', require('path').dirname(require.resolve('nan')))\")"
+ "<!(node -e \"require('nan')\")"
],
'conditions': [
['OS=="win"', {
View
@@ -9,7 +9,7 @@
},
"dependencies": {
"set-immediate": "*",
- "nan": "~0.4.4",
+ "nan": "~0.6.0",
"bindings": "~1.1.1"
},
"devDependencies": {

0 comments on commit cbb3c8c

Please sign in to comment.