We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a297c79 + 6b38d3b commit 11be7c3Copy full SHA for 11be7c3
src/Image.cc
@@ -43,9 +43,6 @@ Image::Initialize(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE target) {
43
ctor->InstanceTemplate()->SetInternalFieldCount(1);
44
ctor->SetClassName(Nan::New("Image").ToLocalChecked());
45
46
- ctor->InstanceTemplate()->SetInternalFieldCount(1);
47
- ctor->SetClassName(Nan::New("Image").ToLocalChecked());
48
-
49
// Prototype
50
Local<ObjectTemplate> proto = ctor->PrototypeTemplate();
51
Nan::SetAccessor(proto, Nan::New("source").ToLocalChecked(), GetSource, SetSource);
0 commit comments