Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Some code clean up

  • Loading branch information...
commit 3b5311cf42fba08719aac065094a6b402ef5a4bb 1 parent e9cbf15
Camilo Aguilar c4milo authored
2  package.json
View
@@ -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"
2  src/CascadeClassifierWrap.cc
View
@@ -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);
2  src/Contours.cc
View
@@ -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);
2  src/Matrix.cc
View
@@ -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);
2  src/VideoCaptureWrap.cc
View
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.