Skip to content

Commit

Permalink
Local updates for 0.11.9
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoopa committed Nov 25, 2013
1 parent ce13f93 commit cbb3c8c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions binding.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -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"', {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"set-immediate": "*",
"nan": "~0.4.4",
"nan": "~0.6.0",
"bindings": "~1.1.1"
},
"devDependencies": {
Expand Down

0 comments on commit cbb3c8c

Please sign in to comment.