From a63af5d98db0f35f7d76a29c97e60901d868a418 Mon Sep 17 00:00:00 2001 From: Jamen Marz Date: Mon, 5 Jun 2017 16:30:00 -0500 Subject: [PATCH 1/2] doc: fix typo "ndapi" in n-api.md --- doc/api/n-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/n-api.md b/doc/api/n-api.md index fe3786aaaf5a3f..e9d388a77447ff 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -695,7 +695,7 @@ added: v8.0.0 NODE_EXTERN napi_status napi_create_reference(napi_env env, napi_value value, int initial_refcount, - ndapi_ref* result); + napi_ref* result); ``` - `[in] env`: The environment that the API is invoked under. From 50d153f26c0dc2a112735a5c9df4657f5fb8ec41 Mon Sep 17 00:00:00 2001 From: Jamen Marzonie Date: Mon, 5 Jun 2017 19:08:53 -0500 Subject: [PATCH 2/2] doc: fix "Asynchronous Operations" link in n-api --- doc/api/n-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/n-api.md b/doc/api/n-api.md index e9d388a77447ff..abb3c5eec1e5e8 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -2991,7 +2991,7 @@ support it: * If the function is not available, provide an alternate implementation that does not use the function. -[Aynchronous Operations]: #n_api_asynchronous_operations +[Asynchronous Operations]: #n_api_asynchronous_operations [Basic N-API Data Types]: #n_api_basic_n_api_data_types [ECMAScript Language Specification]: https://tc39.github.io/ecma262/ [Error Handling]: #n_api_error_handling