Permalink
Browse files

Some code clean up

  • Loading branch information...
1 parent e9cbf15 commit 3b5311cf42fba08719aac065094a6b402ef5a4bb @c4milo c4milo committed Oct 20, 2012
Showing with 5 additions and 5 deletions.
  1. +1 −1 package.json
  2. +1 −1 src/CascadeClassifierWrap.cc
  3. +1 −1 src/Contours.cc
  4. +1 −1 src/Matrix.cc
  5. +1 −1 src/VideoCaptureWrap.cc
View
2 package.json
@@ -15,7 +15,7 @@
}
, "engine": "node >= 0.4.1"
, "scripts": {
- "preinstall": "node-gyp rebuild"
+ "preinstall": "node-gyp clean rebuild"
, "test": "vows test/unit.js"
}
, "main": "./lib/opencv"
View
2 src/CascadeClassifierWrap.cc
@@ -18,7 +18,7 @@ CascadeClassifierWrap::Init(Handle<Object> target) {
constructor->SetClassName(String::NewSymbol("CascadeClassifier"));
// Prototype
- Local<ObjectTemplate> proto = constructor->PrototypeTemplate();
+ //Local<ObjectTemplate> proto = constructor->PrototypeTemplate();
NODE_SET_PROTOTYPE_METHOD(constructor, "detectMultiScale", DetectMultiScale);
View
2 src/Contours.cc
@@ -20,7 +20,7 @@ Contour::Init(Handle<Object> target) {
constructor->SetClassName(String::NewSymbol("Contours"));
// Prototype
- Local<ObjectTemplate> proto = constructor->PrototypeTemplate();
+ //Local<ObjectTemplate> proto = constructor->PrototypeTemplate();
NODE_SET_PROTOTYPE_METHOD(constructor, "size", Size);
View
2 src/Matrix.cc
@@ -22,7 +22,7 @@ Matrix::Init(Handle<Object> target) {
constructor->SetClassName(String::NewSymbol("Matrix"));
// Prototype
- Local<ObjectTemplate> proto = constructor->PrototypeTemplate();
+ //Local<ObjectTemplate> proto = constructor->PrototypeTemplate();
NODE_SET_PROTOTYPE_METHOD(constructor, "row", Row);
View
2 src/VideoCaptureWrap.cc
@@ -28,7 +28,7 @@ VideoCaptureWrap::Init(Handle<Object> target) {
constructor->SetClassName(String::NewSymbol("VideoCapture"));
// Prototype
- Local<ObjectTemplate> proto = constructor->PrototypeTemplate();
+ //Local<ObjectTemplate> proto = constructor->PrototypeTemplate();
NODE_SET_PROTOTYPE_METHOD(constructor, "read", Read);

0 comments on commit 3b5311c

Please sign in to comment.