remove commented-out code
This commit is contained in:
parent
e61aa8528f
commit
387185e626
|
@ -164,8 +164,6 @@ Key::New(const Arguments& args)
|
||||||
|
|
||||||
// this was invoked as Key() not new Key()
|
// this was invoked as Key() not new Key()
|
||||||
if (!args.IsConstructCall()) {
|
if (!args.IsConstructCall()) {
|
||||||
// return FromConstructorTemplate(s_ct, args);
|
|
||||||
|
|
||||||
const int argc = 1;
|
const int argc = 1;
|
||||||
Local<Value> argv[argc] = { args[0] };
|
Local<Value> argv[argc] = { args[0] };
|
||||||
return scope.Close(s_ct->GetFunction()->NewInstance(argc, argv));
|
return scope.Close(s_ct->GetFunction()->NewInstance(argc, argv));
|
||||||
|
|
Loading…
Reference in New Issue