| 121 | }; |
| 122 | |
| 123 | NAN_MODULE_INIT(Init) { |
| 124 | Nan::HandleScope scope; |
| 125 | |
| 126 | InnerObject::Init(target); |
| 127 | MyObject::Init(target); |
| 128 | v8::Local<v8::FunctionTemplate> tpl = |
| 129 | New<v8::FunctionTemplate>(MyObject::NewInstance); |
| 130 | |
| 131 | Set(target |
| 132 | , New<v8::String>("newFactoryObjectInstance").ToLocalChecked() |
| 133 | , GetFunction(tpl).ToLocalChecked() |
| 134 | ); |
| 135 | } |
| 136 | |
| 137 | NODE_MODULE(wrappedobjectfactory, Init) |
nothing calls this directly
no test coverage detected