[Pkg-javascript-commits] [node-leveldown] 413/492: upgrade to nan at 0.4.0
Andrew Kelley
andrewrk-guest at moszumanska.debian.org
Sun Jul 6 17:14:24 UTC 2014
This is an automated email from the git hooks/post-receive script.
andrewrk-guest pushed a commit to annotated tag rocksdb-0.10.1
in repository node-leveldown.
commit e5ba7f397752863803fa2fb55e4c4e51f6911dc7
Author: Rod Vagg <rod at vagg.org>
Date: Sun Sep 15 22:31:51 2013 +1000
upgrade to nan at 0.4.0
---
package.json | 2 +-
src/database_async.cc | 4 ++--
src/iterator_async.cc | 6 +++---
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/package.json b/package.json
index ed92e0c..d88b1fd 100644
--- a/package.json
+++ b/package.json
@@ -26,7 +26,7 @@
, "main" : "index.js"
, "dependencies" : {
"bindings" : "~1.1.1"
- , "nan" : "~0.3.0"
+ , "nan" : "~0.4.0"
}
, "devDependencies" : {
"tap" : "~0.4.1"
diff --git a/src/database_async.cc b/src/database_async.cc
index 0cefdb9..91b70fa 100644
--- a/src/database_async.cc
+++ b/src/database_async.cc
@@ -134,7 +134,7 @@ void ReadWorker::HandleOKCallback () {
v8::Local<v8::Value>::New(v8::Null())
, returnValue
};
- callback->Run(2, argv);
+ callback->Call(2, argv);
}
/** DELETE WORKER **/
@@ -260,7 +260,7 @@ void ApproximateSizeWorker::HandleOKCallback () {
v8::Local<v8::Value>::New(v8::Null())
, returnValue
};
- callback->Run(2, argv);
+ callback->Call(2, argv);
}
} // namespace leveldown
diff --git a/src/iterator_async.cc b/src/iterator_async.cc
index f8a5873..c00cbbc 100644
--- a/src/iterator_async.cc
+++ b/src/iterator_async.cc
@@ -58,9 +58,9 @@ void NextWorker::HandleOKCallback () {
, returnKey
, returnValue
};
- callback->Run(3, argv);
+ callback->Call(3, argv);
} else {
- callback->Run(0, NULL);
+ callback->Call(0, NULL);
}
}
@@ -81,7 +81,7 @@ void EndWorker::Execute () {
void EndWorker::HandleOKCallback () {
iterator->Release();
- callback->Run(0, NULL);
+ callback->Call(0, NULL);
}
} // namespace leveldown
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-leveldown.git
More information about the Pkg-javascript-commits
mailing list