Permalink
Browse files

NAN dep upgrade, full node@<=0.11.8 compatibility

  • Loading branch information...
rvagg committed Oct 31, 2013
1 parent cbb039e commit 738f12d17b1f7478d7bdb7735e106afe01983e56
Showing with 3 additions and 3 deletions.
  1. +1 −1 package.json
  2. +1 −1 src/CanvasPattern.cc
  3. +1 −1 src/init.cc
View
@@ -9,7 +9,7 @@
"test": "make test"
}
, "dependencies": {
- "nan": "~0.3.0"
+ "nan": "~0.4.1"
}
, "devDependencies": {
"express": "3.0"
View
@@ -17,7 +17,7 @@ Persistent<FunctionTemplate> Pattern::constructor;
void
Pattern::Initialize(Handle<Object> target) {
- HandleScope scope;
+ NanScope();
// Constructor
Local<FunctionTemplate> ctor = FunctionTemplate::New(Pattern::New);
View
@@ -20,7 +20,7 @@
extern "C" void
init (Handle<Object> target) {
- HandleScope scope;
+ NanScope();
Canvas::Initialize(target);
Image::Initialize(target);
ImageData::Initialize(target);

0 comments on commit 738f12d

Please sign in to comment.