This commit is contained in:
Kagami Hiiragi 2015-01-10 01:44:03 +03:00
parent c15b5a457b
commit e99d76e670
1 changed files with 2 additions and 4 deletions

View File

@ -3,6 +3,8 @@
#include <stdlib.h>
#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<Object> exports) {
exports->Set(
NanNew<String>("powAsync"),