Conversation
Done by running: sed -i "s/N-API/Node-API/g" doc/* Fixes: nodejs#950
NickNaso
left a comment
There was a problem hiding this comment.
Hi @RaisinTen,
thanks for doing this. I found some little erros on documentation and reported to you. Could you fix them?
|
|
||
| Returns the N-API napi_async_work wrapped by the `Napi::AsyncWorker` object. This | ||
| can be used to mix usage of the C N-API and node-addon-api. | ||
| Returns the Node-API napi_async_work wrapped by the `Napi::AsyncWorker` object. This |
There was a problem hiding this comment.
Could you use backtick for napi_async_work? From napi_async_work to napi_async_work
| @@ -40,16 +40,16 @@ Napi::EscapableHandleScope Napi::EscapableHandleScope::New(napi_env env, napi_ha | |||
|
|
|||
| Returns a new `Napi::EscapableHandleScope` instance which wraps the | |||
| napi_escapable_handle_scope handle passed in. This can be used | |||
There was a problem hiding this comment.
Could you use backtick for napi_escapable_handle_scope? From napi_escapable_handle_scope to napi_escapable_handle_scope
|
|
||
| Returns the N-API napi_escapable_handle_scope wrapped by the `Napi::EscapableHandleScope` object. | ||
| This can be used to mix usage of the C N-API and node-addon-api by allowing | ||
| Returns the Node-API napi_escapable_handle_scope wrapped by the `Napi::EscapableHandleScope` object. |
There was a problem hiding this comment.
Could you use backtick for napi_escapable_handle_scope? From napi_escapable_handle_scope to napi_escapable_handle_scope
|
|
||
| Returns the N-API napi_handle_scope wrapped by the `Napi::EscapableHandleScope` object. | ||
| This can be used to mix usage of the C N-API and node-addon-api by allowing | ||
| Returns the Node-API napi_handle_scope wrapped by the `Napi::EscapableHandleScope` object. |
There was a problem hiding this comment.
Could you use backtick for napi_handle_scope? From napi_handle_scope to napi_handle_scope
| @@ -34,7 +34,7 @@ Napi::HandleScope::HandleScope(Napi::Env env, Napi::HandleScope scope); | |||
| - `[in] scope`: pre-existing `Napi::HandleScope`. | |||
|
|
|||
| Returns a new `Napi::HandleScope` instance which wraps the napi_handle_scope | |||
There was a problem hiding this comment.
Could you use backtick for napi_handle_scope? From napi_handle_scope to napi_handle_scope
|
Could you also update the files listed below?
|
Done by running: sed -i "s/N-API/Node-API/g" README.md CONTRIBUTING.md
|
@NickNaso Thanks for the review. I have added your suggestions. PTAL. |
|
Landed in 787e216. |
Done by running: sed -i "s/N-API/Node-API/g" doc/* sed -i "s/N-API/Node-API/g" README.md CONTRIBUTING.md Fixes: nodejs#950 PR-URL: nodejs#951 Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@gmail.com> Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
Done by running: sed -i "s/N-API/Node-API/g" doc/* sed -i "s/N-API/Node-API/g" README.md CONTRIBUTING.md Fixes: nodejs#950 PR-URL: nodejs#951 Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@gmail.com> Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
Done by running: sed -i "s/N-API/Node-API/g" doc/* sed -i "s/N-API/Node-API/g" README.md CONTRIBUTING.md Fixes: nodejs/node-addon-api#950 PR-URL: nodejs/node-addon-api#951 Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@gmail.com> Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
Done by running: sed -i "s/N-API/Node-API/g" doc/* sed -i "s/N-API/Node-API/g" README.md CONTRIBUTING.md Fixes: nodejs/node-addon-api#950 PR-URL: nodejs/node-addon-api#951 Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@gmail.com> Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
Done by running: sed -i "s/N-API/Node-API/g" doc/* sed -i "s/N-API/Node-API/g" README.md CONTRIBUTING.md Fixes: nodejs/node-addon-api#950 PR-URL: nodejs/node-addon-api#951 Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@gmail.com> Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
Done by running: sed -i "s/N-API/Node-API/g" doc/* sed -i "s/N-API/Node-API/g" README.md CONTRIBUTING.md Fixes: nodejs/node-addon-api#950 PR-URL: nodejs/node-addon-api#951 Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@gmail.com> Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
Done by running:
Fixes: #950