Permalink
Browse files

Merge pull request #352 from rvagg/nan-upgrade

NAN dep upgrade, full node@<=0.11.8 compatibility
  • Loading branch information...
2 parents cbb039e + 738f12d commit d352f83bef0b9743998ea47551a3464a7e97a9c0 @kangax kangax committed Oct 31, 2013
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 d352f83

Please sign in to comment.