We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Nan documentation suggests to declare methods explicitly over using the Nan Macros.
void MethodName(const Nan::FunctionCallbackInfo<v8::Value>& info) { ... }
instead of
NAN_METHOD(MethodName { ... }
The explicit declaration is suggested not only for JS method implementations but also for getters, setters...
The more explicit way has the advantage that many IDEs provide better IntelliSense and is generally either understood by humble humans as well.
It is, therefore, probably advisable to migrate the existing code base to use explicit method declarations.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The Nan documentation suggests to declare methods explicitly over using the Nan Macros.
instead of
NAN_METHOD(MethodName { ... }
The explicit declaration is suggested not only for JS method implementations but also for getters, setters...
The more explicit way has the advantage that many IDEs provide better IntelliSense and is generally either understood by humble humans as well.
It is, therefore, probably advisable to migrate the existing code base to use explicit method declarations.
The text was updated successfully, but these errors were encountered: