Some code clean up

This commit is contained in:
Camilo Aguilar 2012-10-20 02:35:15 -04:00
parent e9cbf158d5
commit 3b5311cf42
5 changed files with 5 additions and 5 deletions

View File

@ -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 File

@ -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 File

@ -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 File

@ -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 File

@ -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);