Skip to content

Commit df9959a

Browse files
committed
Merge pull request #408 from idubinskiy/contour-points
Restore Contour.points method
2 parents 3af26fe + 7112856 commit df9959a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Contours.cc

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ void Contour::Init(Local<Object> target) {
1818
// Prototype
1919
// Local<ObjectTemplate> proto = constructor->PrototypeTemplate();
2020
Nan::SetPrototypeMethod(ctor, "point", Point);
21+
Nan::SetPrototypeMethod(ctor, "points", Points);
2122
Nan::SetPrototypeMethod(ctor, "size", Size);
2223
Nan::SetPrototypeMethod(ctor, "cornerCount", CornerCount);
2324
Nan::SetPrototypeMethod(ctor, "area", Area);

0 commit comments

Comments
 (0)