From e99d76e6703005d43a0ff34a1c01f13065659125 Mon Sep 17 00:00:00 2001 From: Kagami Hiiragi Date: Sat, 10 Jan 2015 01:44:03 +0300 Subject: [PATCH] Typo fix --- src/worker.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/worker.cc b/src/worker.cc index 33c7e89..6c938ba 100644 --- a/src/worker.cc +++ b/src/worker.cc @@ -3,6 +3,8 @@ #include #include "./pow.h" +#define MAX_SAFE_JS_INTEGER 9007199254740991 + using node::Buffer; using v8::Handle; using v8::Local; @@ -13,8 +15,6 @@ using v8::Object; using v8::String; using v8::Integer; -#define MAX_SAFE_JS_INTEGER 9007199254740991 - class PowWorker : public NanAsyncWorker { public: PowWorker(NanCallback* callback, @@ -81,8 +81,6 @@ NAN_METHOD(PowAsync) { NanReturnUndefined(); } -// Expose synchronous and asynchronous access to our -// Estimate() function void InitAll(Handle exports) { exports->Set( NanNew("powAsync"),